
#POSTMAN GRAPHQL CODE#
You can see in the above screenshot, we have got successful response code as well as the data.Now, we are all set to post this message to AWS and let we see what we are getting as a response.So, finalize the GraphQL query after understanding the GraphQL schema completely and input the same in the body of your request. GraphQL works in a way where you will get the response based on what you give as input query.Input your region name in the field “AWS Region” and Input “appsync” in the field “Service Name”. Input the “AccessKey” and “SecretKey” which should be basically provided by your AWS consultant. Choose the Authentication method as “AWS Signature”.It typically looks in the format as below:“ Create post request from Postman and enter the request URL as GraphQL API.In this topic, we are going to see how we can consume GraphQL API hosted on AppSync Service in AWS from Postman.To know more, Please check GraphQL.Ĭonsuming GraphQL API hosted on AppSync-AWS from Postman:

The server then takes the data and returns it to the client in a JSON object.


It’s typically used over HTTP where the key idea is to POST a “query” to an HTTP endpoint, instead of hitting different HTTP endpoints for different resources.
#POSTMAN GRAPHQL HOW TO#
GraphQL is a specification for how to talk to an API.Knowledge on GraphQL Query and GraphQL Schema.Post then, we will see on how to consume the same from SAP Cloud Platform Integration (CPI). In this Blog, we are going to see on how to consume GraphQL API hosted on AWS AppSync from Postman.

To consume the data from the server, a GraphQL API has been created using AppSync service in AWS and the same needs to be consumed by SAP CPI as a part of integration with the help of GraphQL Schema. I have got a requirement wherein I need to integrate with Web Application hosted on AWS Cloud. Now, We are going to focus on the GraphQL API hosted on AppSync in AWS. In our last Blog, We have seen how to Integrate SAP CPI with AWS DynamoDB service.
