POST

Perform an HTTP POST on a URL with special parameters.

icon of HTTP APIHTTP API
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
POST(action_urlheadersbody
[response_type]
)
action_url

URL where to perform the HTTP request. For example: "https://httpbin.org/post".

headers

The JSON headers to send (such as Authentication headers).

body

The JSON content to send.

[optional] response_type

The response type. Choose either:

  • 0 (default) to get the response content

  • 1 - to get the status.

  • 2 to get the entire JSON server response

More details

The URL is automatically cleaned-up (percent-encoded except for reserved characters and the % sign).

Read up on POST() in our Academy.

Examples

POST("https://httpbin.org/post", "{}", '{"hello":"world"}') returns server response with args, data, files, form, headers, json, origin, and URL.