HTTP API integration
The HTTP integration lets you connect to any HTTP API.
Setup
When adding an HTTP API integration, you’ll need to set the base URL (all paths will be relative to this).
You can optionally set a default headers, such as Content-Type: application/json
for JSON APIs.
Operations
The HTTP API integration allows making requests with the following HTTP methods: GET
, POST
, PUT
, DELETE
, PATCH
.
Only the GET
method can be used in data fetches.
Backend operations may use all methods.
GraphQL APIs
We are working on a dedicated GraphQL integration.
GraphQL APIs are usually implemented as HTTP APIs, so you can use the HTTP API integration to make requests to GraphQL servers. Learn how to construct HTTP requests to a GraphQL server from Apollo GraphQL’s blog.
Was this page helpful?