Edit of asset "AwaitableHTTPRequest" Accepted
| Old/Current | New/Edit | |
|---|---|---|
| Title | AwaitableHTTPRequest | |
| Description |
This addon makes HTTP requests much more convenient to use by introducing the await-syntax and removing the need for signals. See the image and examples.tscn for usage. |
This addon makes HTTP requests much more convenient to use by introducing the `await`-syntax and removing the need for signals. Here is an example with minimal error-handling: [codeblock] @export var http: AwaitableHTTPRequest func _ready() -> void: func _ready() -> void: var resp := await http.async_request("https://api.github.com/users/swarkin") if resp.success(): print(resp.status) # 200 print(resp.headers["content-type"]) # application/json var json := resp.body_as_json() print(json["login"]) # Swarkin [/codeblock] See `examples.tscn` for more. |
| Category | Scripts | |
| License | MIT | |
| Repository Provider | GitHub | |
| Repository Url | https://github.com/Swarkin/Godot-AwaitableHTTPRequest | |
| Issues Url | https://github.com/Swarkin/Godot-AwaitableHTTPRequest/issues | |
| Godot version | Godot 4.1 | Godot 4.1 |
| Version String | 2.2.1 | 2.0.0 |
| Download Commit | cd875f179a5515a1c48a62845f3a6b7193d62c60 | a0982e9730ece6521c5244595aa555b0fde019ac |
| Download Url (Computed) | https://github.com/Swarkin/Godot-AwaitableHTTPRequest/archive/cd875f179a5515a1c48a62845f3a6b7193d62c60.zip | https://github.com/Swarkin/Godot-AwaitableHTTPRequest/archive/a0982e9730ece6521c5244595aa555b0fde019ac.zip |
| Icon Url |
https://raw.githubusercontent.com/Swarkin/Godot-AwaitableHTTPRequest/main/addons/awaitable_http_request/icon.png
|
https://raw.githubusercontent.com/Swarkin/Godot-AwaitableHTTPRequest/main/addons/awaitable_http_request/icon.png
|
| Preview Remove | ||
|---|---|---|
| Type | image | |
| Image/Video URL |
|
|
| Thumbnail |
|
|