The HTTP Call enables workflows to interact with external services over HTTP, supporting standard REST API operations.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/serverlessworkflow/specification/llms.txt
Use this file to discover all available pages before exploring further.
Overview
HTTP calls allow you to make HTTP requests to external endpoints with full control over methods, headers, query parameters, and request bodies.Properties
The HTTP request method.Supported values:
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONSAn URI or an object that describes the HTTP endpoint to call.Can be a simple string URI or an endpoint object with authentication configuration.
A name/value mapping of the HTTP headers to use, if any.
The HTTP request body, if any.
A name/value mapping of the query parameters to use, if any.
The HTTP call’s output format.Supported values:
raw- Outputs the base-64 encoded HTTP response content, if anycontent- Outputs the content of HTTP response, possibly deserializedresponse- Outputs the full HTTP response object
Specifies whether redirection status codes (300-399) should be treated as errors.
- If
false, runtimes must raise an error for response status codes outside the 200-299 range - If
true, they must raise an error for status codes outside the 200-399 range
Endpoint Object
Whenendpoint is an object:
The endpoint’s URI.
The authentication policy to use.
Examples
Basic GET Request
POST with Body
Using Query Parameters
Endpoint Interpolation
With Authentication
HTTP Response Format
When usingoutput: response, the response object includes:
request- The HTTP request that was sentstatusCode- The HTTP response status codeheaders- The HTTP response headers, if anycontent- The HTTP response content, if any (deserialized or base-64 encoded)
Related
- OpenAPI Protocol - For calling services defined by OpenAPI specifications
- Authentication - Authentication schemes for HTTP calls
- Endpoint Configuration - Endpoint configuration options