http_request_content_headers

Make an HTTP request with a specific header.

⚙️ Compatible targets: Linux

Parameters

NameDocumentation
methodMethod to call the URL (POST, PUT).

This parameter is required.
urlURL to send content to.

This parameter is required.
contentContent to send.

This parameter is required.
headersHeaders to include in the HTTP request.

This parameter is optional.

Example

method: http_request_content_headers
params:
  content: VALUE
  method: VALUE
  url: VALUE
  headers: OPTIONAL_VALUE

Documentation

Perform a HTTP request on the URL, method and headers provided and send the content provided. Will return an error if the request failed.