EngineVersion 1httpClasses

http:Request

A request that can be made to an HTTP service.

Extends: services:Request

Properties

http:body (optional, max 1)

The body of the HTTP request.

Request body should be provided for POST, PUT, and PATCH requests.

May be a literal string or os:Function for dynamic resolution.

http:hasHeader (optional)

An HTTP header included in the request.

Custom headers should be valid http:Header resources with name and value.

http:method (required, max 1)

HTTP method for REST service calls (GET, POST, PUT, DELETE, etc.).

HTTP method must be one of the allowed methods: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS

May be a literal string or a os:Function for dynamic resolution.

http:path (optional, max 1)

The path of the HTTP request.

Request path to append to the base endpoint URL.

May be a literal string or a os:Function for dynamic resolution.

http:hasSearchParam (optional)

Search parameter for filtering results in HTTP requests.

Search parameters should be valid http:SearchParameter resources with name and value.

http:timeoutMillis (optional, max 1)

Request timeout in milliseconds.

Request timeout must be between 100ms and 5 minutes (300000ms). Defaults to 30 seconds if not specified.

On this page