Nope, no such thing as curl --post. Use `-d` or `--data` instead.
For form data:
`curl -d "name=foo&age=25" https://example.com`
For JSON, add the header:
`curl -H "Content-Type: application/json" -d '{"name":"foo"}' https://example.com`
Bonus: Use `-v` to see verbose output and debug.
For form data:
`curl -d "name=foo&age=25" https://example.com`
For JSON, add the header:
`curl -H "Content-Type: application/json" -d '{"name":"foo"}' https://example.com`
Bonus: Use `-v` to see verbose output and debug.
