Hello, I am attempting to build a Node.js app to query the GraphQL API. I know this is probably a very basic question, but can someone provide an example of how the API key is configured as part of the request header? I didn’t find any documentation on how to configure it. A full example of a typical request header would be great. My humble thanks.
While it’s not specific to Node.js, see if the first section (“GraphQL over HTTP”) of this post of mine helps.
If not, please tell what library/module you are using for HTTP, e.g. axios, etc.
Thank you Ed! Much obliged.