Overview

A typical postman page will look like this:

1851

The endpoint

GraphQL (and therefore our API) only uses one endpoint: https://app.erplain.net/public-api/graphql/endpoint.

1756

It has to be set here:

Query headers

Your postman headers will have to include these:

519

bearer being the bearer token you received in the previous step. In this example, it is hard coded in the header. However, if you are going to create multiple queries, it is a good idea to put this value in a variable, that way if you have to change the token, you only have to change it's value once.

The query

The queries will be written here:

795

Note that postman recognizes GraphQL as a query language, helping to make the query more readable. However, you do not need to specify the schema nor the variables as we will not use them here.