Hello, in this tutorial, I will show you how to make http requests in Unreal Engine using the http requests for blueprints plugin.
Hello, in this tutorial, I will show you how to make http requests in Unreal Engine using the http requests for blueprints plugin.
Make a HTTP Request
To make HTTP requests, use the Make a HTTP Request node.
Then select the request method you want from the drop-down menu.
Enter the URL for the request.
Add Query Parameters
Set the query parameters if your request requires them.
Click and hold on the Params pin, then drag on an empty spot. Search for Make Map and select it in the menu.
If your request does not require any parameters, right click on the key, then remove it so you have an empty map.
If you need parameters, add it to the map.
Adding Headers
For the headers, it is the same. Click and hold on it, then drag on an empty spot. Search for Make Map. Then select it in the menu.
If no headers are needed, delete the key for the empty map. If you need headers, add it to the map.
Add Data
If you need to send data with the request, add them to the Body pin.
Add the Callback
The callback is a function that gets executed when the request is completed.
Select Add Event, then Add Custom Event.