Skip to content
On this page

HTTP

HTTP Endpoint

Handle an incoming HTTP request.

Properties

PropertyDescription
PathThe relative path that triggers this activity.
MethodsThe HTTP methods that trigger this activity.(GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD)
Read ContentA value indicating whether the HTTP request content body should be read and stored as part of the HTTP request model. The stored format depends on the content-type header.
Target TypeThe type to parse the received request content into if it is set to true. If not set, the content will be parse into a default type, depending on the parser associated with the received content-type header.
Schema
AuthorizeCheck to allow authenticated requests only
PolicyProvide a policy to evaluate. If the policy fails, the request is forbidden.

Outcomes

OutcomeDescription
DoneAlways scheduled when the activity completed.

Redirect

Write an HTTP redirect response.

Properties

PropertyDescription
LocationThe URL to redirect to (HTTP 302).
PermanentWhether or not the redirect is permanent (HTTP 301).

Outcomes

OutcomeDescription
DoneAlways scheduled when the activity completed.

Send HTTP Request

Send an HTTP request.

Properties

PropertyDescription
UrlThe URL to send the HTTP request to.
MethodThe HTTP method to use when making the request.(GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD)
ContentThe HTTP content to send along with the request.
Content TypeThe content type to send with the request.
AuthorizationThe Authorization header value to send.
Request HeadersAdditional headers to send along with the request.
Read ContentRead the content of the response.
Response Content Parser NameThe parser to use to parse the response content.
Supported Status CodesA list of possible HTTP status codes to handle.

Outcomes

OutcomeDescription
DoneAlways scheduled when the activity completed.
Unsupported Status CodeNo additional outcomes that are configured in the Supported Status Codes property
*Any additional outcomes that are configured in the Supported Status Codes property

HTTP Response

Write an HTTP response.

Properties

PropertyDescription
Status CodeThe HTTP status code to return.
ContentThe content to send along with the response.
Content TypeThe HTTP content type header to write.
Char SetThe character set to use when writing the response.
Response HeadersAdditional headers to write.

Outcomes

OutcomeDescription
DoneAlways scheduled when the activity completed.