If you're new to CLI HTTP requests, I'd recommend checking out httpie—it's like curl but way more intuitive for API testing.
For JSON payloads, just do:
`http POST api.example.com/data name=foo age:=25`
The `:=` forces it as JSON.
Headers are easy too:
`http GET api.example.com/data Authorization:"Bearer token"`
Way cleaner than curl imo.
For JSON payloads, just do:
`http POST api.example.com/data name=foo age:=25`
The `:=` forces it as JSON.
Headers are easy too:
`http GET api.example.com/data Authorization:"Bearer token"`
Way cleaner than curl imo.
