commit
01d8e26e75
|
@ -1,18 +1,18 @@
|
||||||
{
|
{
|
||||||
"id": "curl_cheat_sheet",
|
"id": "curl_cheat_sheet",
|
||||||
"name": "Curl",
|
"name": "Curl",
|
||||||
"description": "Displays a list of curl command options",
|
"description": "A list of curl command and options",
|
||||||
|
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"sourceName": "Cheatography",
|
"sourceName": "About",
|
||||||
"sourceUrl" : "http://www.cheatography.com/ankushagarwal11/cheat-sheets/curl-cheat-sheet/"
|
"sourceUrl" : "http://linux.about.com/od/commands/l/blcmdl1_curl.htm"
|
||||||
},
|
},
|
||||||
|
|
||||||
"aliases": [
|
"aliases": [
|
||||||
"curl options"
|
"curl options"
|
||||||
],
|
],
|
||||||
|
|
||||||
"template_type": "reference",
|
"template_type": "terminal",
|
||||||
|
|
||||||
"section_order": [
|
"section_order": [
|
||||||
"Basic Usage",
|
"Basic Usage",
|
||||||
|
@ -20,13 +20,14 @@
|
||||||
"Cookies",
|
"Cookies",
|
||||||
"Send Data",
|
"Send Data",
|
||||||
"Headers",
|
"Headers",
|
||||||
"Exit Codes"
|
"Exit Codes",
|
||||||
|
"Miscellaneous"
|
||||||
],
|
],
|
||||||
|
|
||||||
"sections": {
|
"sections": {
|
||||||
"Basic Usage": [
|
"Basic Usage": [
|
||||||
{
|
{
|
||||||
"key": "curl [options...] <url>",
|
"key": "curl \\[options...\\] <url>",
|
||||||
"val": "Makes a request to the url given"
|
"val": "Makes a request to the url given"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -101,7 +102,29 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "56",
|
"key": "56",
|
||||||
"val": "The request could not recieve data"
|
"val": "The request could not receive data"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Miscellaneous": [
|
||||||
|
{
|
||||||
|
"key": "-v / --verbose",
|
||||||
|
"val": "Displays data sent and received"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "-m / --max-time",
|
||||||
|
"val": "Maximum time in seconds the command should execute"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "-k / --insecure",
|
||||||
|
"val": "Allows insecure requests"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "-s",
|
||||||
|
"val": "Hides the progress"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "-S",
|
||||||
|
"val": "Displays error when the request fails(when used with -s)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue