I’m trying to understand the difference between querystrings and headers. Where do you use each?
Query strings might be more useful in making URLs human readable I suppose, but other than that, wouldn’t it be easier to just embed that in your own custom HTTP header (side question, but how this relate to cookies?)? What’s the distinction between the two?
Refer a similar question Adding Custom HTTP Headers
Why would I prefer query string over http-header fields?
HTTP-RFC to "follow common-forms" when it comes to header
fields.