Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser

Quick Information

unirest gdscript
Unirest in GDScript: Simplified, lightweight HTTP client library. Godot Engine HTTPClient extension inspired by Kong Unirest.
Supported Engine Version
3.5
Version String
1.3
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL
unirest-gdscript
Unirest in GDScript: Simplified, lightweight HTTP client library. Godot Engine HTTPClient extension inspired by Kong Unirest.
sync example
func _ready() -> void:
var unirest_request: GetRequest = \
Unirest.get("https://jsonplaceholder.typicode.com/posts/{id}") \
.header("Accept", "application/json") \
.route_param("id", "1")
var json_response: JsonResponse = yield(
unirest_request.as_json(),
"completed"
)
var json_node: JsonNode = json_response.get_body()
print(json_node.as_dict().get("title"))
async example
func _ready() -> void:
var unirest_request: GetRequest = \
Unirest.get("https://jsonplaceholder.typicode.com/posts/{id}") \
.header("Accept", "application/json") \
.route_param("id", "1")
unirest_request.connect("completed", self, "on_completed")
unirest_request.as_json_async()
func on_completed(json_response: JsonResponse) -> void:
var json_node: JsonNode = json_response.get_body()
print(json_node.as_dict().get("title"))
Unirest in GDScript: Simplified, lightweight HTTP client library. Godot Engine HTTPClient extension inspired by Kong Unirest.
Reviews
Quick Information

unirest gdscript
Unirest in GDScript: Simplified, lightweight HTTP client library. Godot Engine HTTPClient extension inspired by Kong Unirest.
Supported Engine Version
3.5
Version String
1.3
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL