I am new to GraphQL and have built a simple API using express
and express-graphql
. When I run my server and go to http://localhost:5000/graphql
in the browser I see GraphiQL and can make basic queries.
I want to set the HTTP headers of a request however. I believe there should be a HTTP Headers
tab next to the Query Variables
tab in the screenshot below, but for some reason it is not there.
Any ideas why it is missing or how I then set the HTTP headers of a request to my API?