CURL BASICS Learn basic methods. GET Terminal: $ curl -v http://127.0.0.1/ POST Terminal: $ curl -d 'post=243&author=anon' http://127.0.0.1/post $ curl -d @data.json -H 'Content-Type: application/json' http://127.0.0.1/post PUT Terminal: $ curl -d @data.json -H 'Content-Type: application/json' -X PUT http://127.0.0.1/post DELETE Terminal: $ curl -X DELETE http://127.0.0.1/post/1002e5c9-d975-48a7-8068-041e222a61bb Headers: Terminal: $ curl -H 'Accept: application/json' http://127.0.0.1/ $ curl -H 'Authorization: Bearer ' http://127.0.0.1/secret