Skip to main content
Version: Next

Http Head

Perform an HTTP HEAD request.

Description

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

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.

Outputs

  • status code (Number): The response status code.
  • headers (String): The response headers.