PUT

Perform a PUT request on a URL.

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
PUT(action_urlheadersbody
[response_type]
)
action_url

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

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 PUT() in our Academy.

Examples

PUT("https://httpbin.org/put", "{}", '{"name": "new product name"}') returns server response with args, data, files, form, headers, json, origin, and URL.