การใช้งาน curl ก็จะดีตัวอย่างใช้คำสั่งดังนี้
โค้ด: เลือกทั้งหมด
$ curl <OPTION> <URL>
โค้ด: เลือกทั้งหมด
$ curl -I https://api.github.com
โค้ด: เลือกทั้งหมด
$ curl -u "user:pass" [URL]
คำสั่ง
โค้ด: เลือกทั้งหมด
$ curl -X POST -d "name=Chai&password=xxxx" [URL]
คำสั่ง
โค้ด: เลือกทั้งหมด
$ curl -X POST -H "Content-Type: multipart/form-data -F "[email protected]" -F "press=ok" [URL]
https://devahoy.com/blog/2016/11/getting-started-with-curl/
https://saixiii.com/what-is-curl/
https://systemsupport.itorama.com/curl/