firecamp
firecamp copied to clipboard
Feature Request: Set headers per environment snippet
As the title says. This feature is a must have for anyone working with a GraphQL API that requires an auth token.
@PachowStudios you can set the header variables with as ease like other variables, shown in below image
Do you have any special use-case? please share it here, I am so curious to know about it.

Ah, looks like you have to save the query in the project for it to work. When a query isn't part of a project we should still be able to use that projects variables just like Postman. Most of the queries I run aren't ones I want to save.
Could we also have the ability to set headers globally for a project environment? When I make a new tab I have to specify the auth header every time.
@PachowStudios Yes, got your concern.
Yes, you can add as many snippets as a Global like shown in the below image...

Just click on Manage Environment Snippet

We're writing doc for that, so It'll be easy to understand the flow. Thank you @PachowStudios