Skip to main content
edited tags; edited title
Link
Glorfindel
  • 6.9k
  • 3
  • 22
  • 49

How to pass `key` as header value instead of as query params?

Source Link

How to pass `key` as header value instead of as query params

I would like to use my API Key in the header as opposed to as a query parameter.

In Stack Overflow Enterprise, I pass the value as X-API-Key in the headers. This does not work for the public Stack Overflow API.