HTTP API (Fetch) integration

The HTTP API integration lets you configure arbitrary HTTP endpoint calls directly from Plasmic using data queries. This is the most flexible option when you need to work with HTTP APIs or other services that expose standard HTTP routes.

You can configure the full request in the query dialog, including URL, method, headers, and body.

Configure data query for HTTP Fetch

Getting started

  1. In Page Data or Component Data, add a new data query and set a query name.
  2. Set Custom function to HTTP Fetch.
  3. Fill the parameters from the table below.
  4. Execute and save the query.

Parameters

FieldDescriptionRequired?
UrlFull request URL.Required
MethodHTTP method to use.Required
HeadersRequest headers.Optional
BodyRequest payload.Optional

Is this page helpful?

NoYes