a!httpResponse_17r4() Function Share Share via LinkedIn Reddit Email Copy Link Print On This Page This page contains information related to an old version of the a!httpResponse() Function. To take advantage of the latest features and improvements, we always recommend you use the latest version whenever possible. See the latest version's page for information about what's been changed. Function a!httpResponse_17r4( statusCode, headers, body ) Returns an HTTP Response object for use in a Web API. Parameters Keyword Type Description statusCode Number(Integer) The status code of the response. Default is "200" meaning successful completion of the request. headers List of HttpHeader A list of headers for the response. Built with a!httpHeader(). body Text The body of the response. Returns HTTP Response Examples 1 2 3 4 5 6 7 8 a!httpResponse_17r4( statusCode: 200, headers: { a!httpHeader(name: "content-type", value: "application/json") }, body: a!toJson(value: local!user) ) See also: Web APIs, a!httpheader() Feature compatibility The table below lists this function's compatibility with various features in Appian. Feature Compatibility Note Portals Partially compatible Can be used with Appian Portals if it is connected using an integration and web API. Offline Mobile Partially compatible Can be used with offline mobile if it is loaded at the top of the form. Sync-Time Custom Record Fields Incompatible Real-Time Custom Record Fields Incompatible Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. Process Reports Incompatible Cannot be used to configure a process report. Process Events Incompatible Cannot be used to configure a process event node, such as a start event or timer event. Process Autoscaling Compatible Feedback Was this page helpful? SHARE FEEDBACK Loading...