WWWForm - .AddField vs .headers
Hi all,
I am using WWWForm to do the equivalent of GET and POST in python. To add headers to my requests, I could two options:
WWWForm form = new WWWForm ();
form.AddField("user", username); //OPTION 1
form.headers["user"] = username; //OPTION 2
Can someone explain the difference between the two? Thank you
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612090211im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get image from server folder through its reference in mysql database 0 Answers
WWW HTTP Post request only works on Android if i'm comnected to Wifi, not on cellular data 1 Answer
Creating a Custom Music folder - Works inside the editor - Issues with build. 0 Answers
AddBinaryField always missing bytes in UnityWebRequest Post on iOS 0 Answers
Can you pass a RawImage to an IEnumerator in another script? 0 Answers