POST REQUESTS

root@oco:~$ curl -X POST -s {targetSite:port}/{page}.php
root@oco:~$ curl -X POST -d "param=value" -s {targetSite:port}/{page}.php
 * the -s flag filters out unnecessary data
 * the -X flag represents the HTTP request method to use
 * the -d "param=value" sends the specified data in a POST request

Last updated