Without params
curl https://jsonplaceholder.typicode.com/todos
- GET
- -X - method
curl -X POST https://jsonplaceholder.typicode.com/todos
- -H - additional header
curl -H "Accept: application/json" https://jsonplaceholder.typicode.com/todos
- -d - pass data
curl -X POST -d "{ id: '1' }" https://jsonplaceholder.typicode.com/todos
- -I - information (get more detailed headers of the request)
curl -I https://jsonplaceholder.typicode.com/todos
- -H - additional header
curl -H "Accept: application/json" https://jsonplaceholder.typicode.com/todos