> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/graphql.md).

# Call an API with GraphQL in Duaer

In Duaer, GraphQL defaults to Authentication None and HTTP Request Method POST. Set Endpoint and Query. The response defaults to JSON on Response Data Property Name (default data).
## Send a simple query

1. Search for GraphQL and connect it after the previous node.
2. Leave Authentication on None, or pick Basic Auth, Header Auth, OAuth2, and the matching credential.
3. Leave HTTP Request Method on POST. Set Endpoint to the GraphQL URL.
4. Set Query. Add Variables when the query needs them.
5. Select Execute step. The result lands on the data field (or the Response Data Property Name you set).

Request Format may be GraphQL or JSON depending on the node version. Response Format defaults to JSON and can be String.

For a generic HTTP call, refer to [Call an API with HTTP Request in Duaer](/build/http-request.md).
## Questions

### Must GraphQL in Duaer always use POST?

POST is the default. You can set HTTP Request Method to GET.

