ufna / VaRest

REST API plugin for Unreal Engine 4 - we love restfull backend and JSON communications!
https://www.unrealengine.com/marketplace/en-US/product/varest-plugin
MIT License
1.05k stars 289 forks source link

Problem with Set Header on Android platform #416

Closed OldRazeJedy closed 9 months ago

OldRazeJedy commented 1 year ago

I'm using the VaRest plugin to make requests to a local website in Django, i.e. I'm making Get/Post requests. My entire UE4 project is written with Blueprints. So, I make a Post request (Construct Json Request), and then return the value to the Set Header. In the Set Header node, I pass the csrf-token in the format of a string, which I received from the Get request. The problem is that when testing requests in the UE4 editor, everything is fine, but when building on android and trying to make a Post request, the header with the token disappears, which is why I can't log in. I realized this by displaying the request structure, and this token disappeared. What could have happened that after building the application, this node/header did not work and was not sent when requested?

To make the problem even shorter, the Set Header node does not work after being built on Android. Is the problem in the specificity of the HTTP request from android? image