curl Package

curl

by yanming zhang

An package to get curl command code snippets

curlshelldevelopment
espanso install curl


package_name: "curl" package_title: "curl Package" package_desc: "A package to get curl code snippets" package_version: "0.1.0" package_author: "yanming zhang" package_repo: "https://github.com/zhangymPerson/espanso-package-curl"

An package to get curl command code snippets

For more information about espanso packages, read the documentation.

Usage

Available replacements:

replacementdescriptionoutput
:curl:Get curl command examplecurl --request GET http://example.com
:curlget:Get curl command example with query stringcurl --request GET http://example.com?key=value
:curlpost:Get curl command example with postcurl --request POST http://example.com
:curlput:Get curl command example with putcurl --request PUT http://example.com
:curldelete:Get curl command example with deletecurl --request DELETE http://example.com
:curlpatch:Get curl command example with patchcurl --request PATCH http://example.com
:curlxml:Get curl command example with xmlcurl --request POST --header 'Content-Type: application/xml' --data '<key>value</key>' http://example.com
:curljson:Get curl command example with jsoncurl --request POST --header 'Content-Type: application/json' --data '{"key":"value"}' http://example.com
:curldata:Get curl command example with datacurl --request POST --header 'Content-Type: multipart/form-data' --form 'key=value' http://example.com
:curldownload:Get curl command example with downloadcurl --request GET --output file.txt http://example.com
:curlupload:Get curl command example with uploadcurl --request POST --form 'file=@/path/to/file' http://example.com
:curlheader:Get curl command example with headercurl --request GET --header 'X-My-Header: 123' http://example.com
:curlcookie:Get curl command example with cookiecurl --request GET --cookie 'key=value' http://example.com
:curlbasic:Get curl command example with basic authcurl --request GET --user 'username:password' http://example.com
:curlproxy:Get curl command example with proxycurl --request GET --proxy http://proxy.example.com:8080 http://example.com
:curlbearer:Get curl command example with bearer authcurl --request GET --header 'Authorization: Bearer token' http://example.com