The syntax for the curl command is: curl [options] [URL...]
...
The options we will cover in this post are:
- -X or --request - HTTP method to be used.
- -i or --include - Include the response headers.
- -d or --data - The data to be sent to the API.
- -H or --header - Any additional headers to be sent.