POST something:
curl -X POST --data "param=value¶m2=value" url
POST some JSON from file:
curl -X POST -d @filename.txt url --header "Content-Type:application/json"
PUT a resource:
curl -X PUT url
Download a file:
curl -O url
i
- show response headersk
- skip validation of SSL certificate