- Home /
UnityWebRequest.Post manually create the Hash header,Hash header in UnityWebRequest
Hi,
I was inspecting a game and I noticed some of the requests, all HTTP POST requests, had an extra header in them, namely the 'Hash' header. However, this behavior seems pretty poorly documented.
Now I am looking to re-create the hash in the post request but how do I do this?
The webrequest:
POST <URL> HTTP/1.1
Host: <DOMAIN>
User-Agent: UnityPlayer/2020.3.31f1 (UnityWebRequest/1.0, libcurl/7.80.0-DEV)
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Authorization: Bearer <JWT>
Hash: 85D0A85153A24B68C6C217BEEB5903FC
X-Unity-Version: 2020.3.31f1
Content-Length: 21
<body content>
How, from this request do I re-create the Hash displayed in the header? The closest I got was that it might be an AssetBundle hash of sorts, but is it default behaviour to even use the Hash HTTP header inside the POST request?
Some help or direction would be greatly appriciated.
Your answer
![](https://koobas.hobune.stream/wayback/20220613060859im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
RTS Multiplayer Synchronization Check 0 Answers
Why does Collaborate seem to be checking for changes on a folder it's supposed to be ignoring? 1 Answer
Handle Blank Response From Web Server 0 Answers
Using UnityWebRequest POST to upload image files 2 Answers
How to secure asset bundles from being used into another app? 0 Answers