curl -X
Jump to navigation
Jump to search
curl -X PUT -u myUser:myPassword -T test.txt "http://your_artifactory.com/artifactory/libs-release-local/test/test.txt"
curl -X POST -F 'name=linuxize'
curl -X POST --data
curl -X POST --insecure
curl -X POST --compressed
curl -X POST -d
curl -X POST -H
curl -X POST -H "Content-Type: application/json"
curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
curl -X POST --insecure https://your_elk_ip:YOUR_PASS@localhost:9200/_snapshot/gcs_repo/your_latest_snapshot_name/_restore
curl -X POST --data '{ "jsonrpc":"2.0", "id" :1, "method" :"info.getNodeID" }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
curl --help .../... -X, --request <command> Specify request command to use --request-target Specify the target for this request --resolve <host:port:address[,address]...> Resolve the host+port to this address --retry <num> Retry request if transient problems occur --retry-connrefused Retry on connection refused (use with --retry) --retry-delay <seconds> Wait time between retries --retry-max-time <seconds> Retry only within this period --sasl-ir Enable initial response in SASL authentication --service-name <name> SPNEGO service name
Examples
TOKEN=$(curl -s -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600")
Related
See also
- HTTP:
POST, PUT, PATCH, GET, HEAD, OPTIONS, DELETE
, Webhook,curl -X POST, allowed_methods
- cURL,
curl -s
,-X, -x
,curl -T
,curl --help
,curl -L, curl -m
,curl -o
,curl -X POST
,curl -d
,curl --header
,curl -I
,curl --silent
,curl -Is
,curl -k or curl --insecure, curl -XPUT, curl -d
,~/.curlrc, curl -i, curl --version, curl --help
Advertising: