Is there any header i should be aware of?


I am using the LIFX api with a flavor or arduino board with wifi this board turn the lights on/off at a given trigger.
Testing on postman and the web api works just fine for me but when i move the code to the board it failed all the time but the output was ok.
looking at the postman request i saw a hidden header called Postman-Token, copied that into the board work just fine for 1 test but second failed so i make the postman token change on every request but it fails once in a while what am i missing?

THis is what i am sending right now works most of the times:

client.print(String("PUT “) + url + " HTTP/1.1\r\n” +
"Host: " + host + “\r\n” +
“User-Agent: BuildFailureDetectorESP8266\r\n” +
“Authorization: Bearer LIFX TOKEN\r\n” +
“Content-Type: application/json\r\n” +
“Postman-Token: 3abd0dca-91e0-ab44-adb6-65cad”+randNumber+“19d2” +
“Connection: close\r\n\r\n”);

Please let me know what am i missing.