0

i wonder how my browser know which field it should create for a json and add it to the request header? i mean when you go to different sites and for example login or send buy request etc. how my brower know which field it should create for json? i go to a specific site and send a order request but when i analyze the request header every time i send the order there is a field in json that change,but i send the exact request every time but it change, i want to create a artificial request but i don't know how to generate that field!! how i can generate it like my browser?

  • Is that field named CSRF token or something equivalent ? – Cid Jun 19 '20 at 07:15
  • nope,the change happen in a filed in json object,there is a field called category id and it change every time,even tho i buy exact same product with exact amount and exact price every time!,i think its something for prevent bots to send post req,but how my browser generate it?! and how i cant generate it too? – MBarzegar93 Jun 20 '20 at 14:53
  • Your browser doesn't generate the field contents. The server does – Cid Jun 21 '20 at 08:56
  • but the change happen in json in sender header not in respone header – MBarzegar93 Jul 05 '20 at 09:14

0 Answers0