cf curl <path>

Executes a request to the targeted API endpoint

Arguments

NameDescription
pathPath to curl

Options

NameDescription
-H <headers>Custom headers to include in the request, flag can be specified multiple times
-X <HTTP method>HTTP method (GET,POST,PUT,DELETE,etc)
-d <data>HTTP data to include in the request body, or '@' followed by a file name to read the data from
--output <path to file>Write curl body to FILE instead of stdout
-iInclude response headers in the output