{
"name": "httpy",
"description": "Programmable command-line HTTP client for the API",
"options": [
{
"names": [
"--exec",
"-x"
],
"description": "Execute httpy command"
},
{
"names": [
"--status",
"-S"
],
"description": "Print only the response status"
},
{
"names": [
"--header",
"-H"
],
"description": "Print only the response headers"
},
{
"names": [
"--body",
"-B"
],
"description": "Print only the response body"
},
{
"names": [
"--allow-redirect",
"-r"
],
"description": "Allow requests to be redirected"
},
{
"names": [
"--verbose",
"-V"
],
"description": "Show request and response in verbose"
},
{
"names": [
"--help",
"-h"
],
"description": "Show help for httpy"
},
{
"names": [
"--version",
"-v"
],
"description": "Show version for httpy"
}
],
"args": [
{
"name": "URL",
"description": "The scheme defaults to 'http://' if the URL does not include one"
},
{
"name": "METHOD",
"description": "The HTTP method to be used for the request (GET, POST, PUT, DELETE, ...)",
"suggestions": [
"GET",
"POST",
"PUT",
"DELETE"
]
}
]
}