Make PUT Request

What does Make PUT Request do?

The Make PUT Request directive makes a HTTP PUT request from your computer to a URL you specify. In general, this is used for making modifications to an existing REST resource.

You can specify the parameters and headers of the request.

If the URL you are accessing is not accessible from your location (eg. if you are geoblocked), the running of this directive will fail.

How do I use the Make PUT Request directive?

Specify the URL you want this directive to access via a PUT request and any parameters or headers to send with this request.

Make PUT request directive settings
Make PUT request directive settings

Behaviour of the Make PUT Request directive

  • You can make PUT requests with the following content types: application/json, application/x-www-form-urlencoded, multipart/form-data, application/octet-stream. For multipart/form-data and application/octet-stream types, you are able to upload a file and specify it to be sent as binary format.
  • If the request fails, the Prog command will abort.
  • By default, the response will be parsed and the output will be available as an output variable with step[identifier].json if the response received is a JSON data. Please see output variables for more information regarding output variables parsed from JSON data.

Example use cases for the Make PUT Request directive

  • Perform PUT requests to your target URL as part of larger and more complex applications