Twitter LogoFacebook Logo
Making a HTTP Request
Learn how to use the Make a HTTP Request Node
By: King

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.

Image from Codeible.com

Then select the request method you want from the drop-down menu.

Image from Codeible.com

Enter the URL for the request.

Image from Codeible.com

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.

Image from Codeible.com

If your request does not require any parameters, right click on the key, then remove it so you have an empty map.

Image from Codeible.com

If you need parameters, add it to the map.

Image from Codeible.com

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.

Image from Codeible.com

If no headers are needed, delete the key for the empty map. If you need headers, add it to the map.

Image from Codeible.com

Add Data

If you need to send data with the request, add them to the Body pin.

Image from Codeible.com

Add the Callback

The callback is a function that gets executed when the request is completed. 


Click and hold on the pin and drag on an empty spot.

Select Add Event, then Add Custom Event.

Image from Codeible.com

It returns a status code which specifies if the request is successful or not. 

The response string is the response returned from the request.

Image from Codeible.com

Sign In