I followed the first part of this tutorial (until code snippet 4) on GraphQL and serverless.
After deploying the serverless application to AWS I query GraphQL using curl, as shown in snippet 4 of the tutorial and get a response as expected:
$ curl -G 'https://example.execute-api.us-east-1.amazonaws.com/dev/query' --data-urlencode 'query={greeting(firstName: "Jeremy")}'
{"data":{"greeting":"Hello, Jeremy."}}
My problem is that when I attempt to make the same query with either Insomnia or Postman, I get 403 error
.
What am I doing wrong? Thank you.
In Insomnia: