Skip to main content
Introduction to HTTP Response

Basics of HTTP Responses

Aleksi Hytönen avatar
Written by Aleksi Hytönen
Updated over 7 months ago

HTTP Response

Frends Process elements of types Return, Intermediate Return and Throw have the option to return a HTTP Response result. This return type is used by HTTP and API Triggers to build the actual HTTP response returned to the caller.

Other triggers, e.g. Queue Triggers do not have any special handling for the HTTP return type; if it is used, they will just return the given result structure as JSON.

Example of Return element configured as HTTP Response:


The HTTP Response allows you to define the Http status code, Http content (also called as the body of the response), Http content type, Http content encoding and HTTP headers. Note that the "Http content" field expects Text (or JSON/XML etc.) as the input type. Object references will not get serialized, so any custom Expressions need to return a string.

The next article is Introduction to HTTP Binary Response.

Did this answer your question?