Dude, curl --post doesn’t exist. You’re mixing flags. Use `-d` for data.
Example for form data:
`curl -d "name=foo&age=25" https://example.com`
For JSON, add the content-type header:
`curl -d '{"name":"foo"}' -H "Content-Type: application/json" https://example.com`
Pro tip: Use `curl --help` or check the man pages.
Example for form data:
`curl -d "name=foo&age=25" https://example.com`
For JSON, add the content-type header:
`curl -d '{"name":"foo"}' -H "Content-Type: application/json" https://example.com`
Pro tip: Use `curl --help` or check the man pages.
