When do you use custom HTTP headers in the request part of a REST API ?
Example:
Would you ever use
GET /orders/view
(custom HTTP header)
I would only use a custom header when there is no other way to pass information by standard or convention. Darren102 is explaining the typical way to pass that value. Your Api will be much more friendly by using typical patterns verse using custom headers.That's not to say you won't have a case to use them, just that they should be the last resort and something not already handled by the HTTP spec.