cf curl <path>
Executes a request to the targeted API endpoint
Arguments
Name | Description |
---|---|
path | Path to curl |
Options
Name | Description |
---|---|
-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 |
-i | Include response headers in the output |