Skip to main content
Version: Next

Http Put

Perform an HTTP PUT request.

Description

Sends an HTTP PUT request to the specified URL and provide the results.

The HTTP PUT request method creates a new resource or replaces a representation of the target resource with the request body. The difference between PUT and POST is that PUT is idempotent: calling it once or several times successively has the same effect (that is no side effect), where successive identical POST may have additional effects, like passing an order several times.

Additional headers can be provided and returned in a string that has to be in JSON format.

Example: '{"Content-Type": "text/html; charset=UTF-8", "Content-Length": 1024 }'

Inputs

  • url (String): The URL to query.
  • headers (Object): Optional HTTP headers in a JSON object or a JSON parsable string.
  • body (String): The body of the request. The body must be a JSON parsable string.

Outputs

  • status code (Number): The response status code.
  • headers (String): The response headers.
  • Error Flow (Error Flow): Triggered if an error occurs.