[cURL] GET/POST/PUT/DELETE

Tadashi Shigeoka ·  Sun, December 9, 2012

When you want to send GET/POST/PUT/DELETE requests with cURL, you can use the -X option to specify the method name.

curl -X PUT -d 'example[foo]=bar' http://example.com/api/xxx

cURL is very useful!

That’s all from the Gemba.