How do I pass a variable in a GraphQL query?
This is the static query
And this is how I’m trying to pass the variable
I also tried to pass it like this
What’s the correct way?
How do I pass a variable in a GraphQL query?
This is the static query
And this is how I’m trying to pass the variable
I also tried to pass it like this
What’s the correct way?
I think it’s just you’re trying to perform a mutation inside a collection, but a collection is made to request data with a query, not a mutation
Probably under the hood we perform a GET request, but a mutation require a POST request. If you need to perform a mutation, please use a global workflow and add the GraphQL request action, it should works