curl -X POST -d 'data=value' https://api.example.com

Category: Networking

curl -X POST -d 'data=value' https://api.example.com

Send an HTTP POST request with form data

Sends form data to a URL using HTTP POST — the method used for submitting forms or sending data to APIs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.