Most GraphQL APIs take in a JSON body with two params: “query” and “variables”. In other words, Postman (when using GraphQL) will send out a body like this:
{
“query”: …
“variables”: …
}
However, I am working with GraphQL endpoint that takes “query_str” and “variables”.
Like this:
{
“query_str”: …
“variables”: …
}
Is there a way to tell Postman to put the query in “query_str” instead of “query” in the request body when making a request?
I’ve looked through Postman settings, but don’t see anything…