os.http-request

Collect information about the response from making an HTTP request

This content is associated with a legacy version of the Replicated product. For the current Replicated product docs, click here.

os.http-request

type object

Collect information about the response from making an HTTP request

collect:
  v1:
    - os.http-request:
        output_dir: /system/ping-ip
        url: 'https://api.replicated.com/market/v1/echo/ip'
        method: get
        header:
          User-Agent:
            - cooltool/supportbundle 0.11.1

Required Parameters

  • method - HTTP request method

  • url - The HTTP request URL

Optional Parameters

  • body - The request body

  • header - One or more headers to send

  • insecure - Set to true to skip TLS verification

Outputs

  • body - The response body