Trịnh Thị Hòa
New member
How do you send a cURL command?
Answer
How to cURL POST from the Command Line
Answer
How to cURL POST from the Command Line
- curl post request with no data: curl -X POST http://URL/example.php.
- curl post request with data: curl -d “data=example1&data2=example2” http://URL/example.cgi.
- curl POST to a form: curl -X POST -F “name=user” -F “password=test” http://URL/example.php.
- curl POST with a file: