OneGraph/graphiql-code-exporter

Accept `headers` alongside `serverUrl` to customize e.g. auth

Closed this issue · 1 comments

It's pretty common to use an Authorization header in GraphQL requests, so this'll be necessary for creating a copy/paste-able snippet.

Might as well generalize it to all headers as well

Now accepts headers :)