This is a form to report an issue from the PC VERSION of the game - for Xbox/PS4 issues use their respective forms from the dropdown menu (delete this prior to creating the ticket)
We currently have to use a hacky solution to get around the header limitations, as seen below. I seen an old report on thisThe attached screenshot is the API call received for the GET and POST commands
As you can see, but it hasn't been acted onthe GET command is lacking the headers but the POST command sends them fine!
A function(s) to properly define headers and other API variables would be great!lso, we currently have to use a hacky solution to get around the header limitations, as seen below. I seen an old report on this, but it hasn't been acted on
The attached screenshot is the API call received for the GET and POST commandsA function(s) to properly define headers and other API variables would be great!
```
void SendTestAPICall()
{
string testData = "HelloWorld";
string exampleBearer = "123456";
string url = "https://webhook.site/<SNIP>?testdata=" + testData;
string headers = "application/json\r\nUser-Agent: Some_Example\r\nAuthorization: Bearer " + exampleBearer;
RestContext ctx = GetRestApi().GetRestContext(url);
ctx.SetHeader(headers);
ctx.POST(new RestCallback, "", "");
ctx.GET(new RestCallback, "");
}
```
{F4737473}