$ export ECS_CLUSTER_NAME={YOUR_ECS_CLUSTER_NAME}
$ export ECS_SERVICE_NAME={YOUR_ECS_SERVICE_NAME}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# query | |
curl \ | |
-X POST \ | |
-H "x-api-key: xxx-xxxx" \ | |
-H "Content-Type: application/json" \ | |
-d '{ "query": "query { listUsers { name } }" }' \ | |
https://app-id.appsync-api.us-east-1.amazonaws.com/graphql | |
# mutation with variables | |
curl \ |