API calls via Godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DodoIta

Hello,
I need to make an HTTP request to an online service to retrieve some data. Is it possible by just using Godot’s methods? Can anyone give me a simple example, or a link to a tutorial, because I’m a complete newbie at this, so even a hint helps.

:bust_in_silhouette: Reply From: Nyenye

I made this tutorial, and it’s pending to be approved to the official docs. Hope it helps
HTTPRequest to RestAPI

:bust_in_silhouette: Reply From: Footurist

Why don’t you read the documentation about the HTTPRequest node?

Link to the docs: HTTPRequest API

Nyenye | 2018-02-27 12:28

Thank you both for replying. I was more looking for an example of that node’s usage, since I’m a bit of a newbie with networking.

DodoIta | 2018-02-27 21:33