os.http-request
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 methodurl
- The HTTP request URL
Optional Parameters
body
- The request bodyheader
- One or more headers to sendinsecure
- Set totrue
to skip TLS verification
Outputs
body
- The response body
Shared Parameters
This spec also inherits all of the required and optional Shared Parameters