Wednesday, May 13, 2020

[HTB]POST HTTP data through Command Line

Example:
# curl -d "param1=value1&param2=value2" -H "Content-Type: application/x-www-form-urlencoded" -X POST http://localhost:3000/data

POST verb without any data:
#  curl -XPOST https://www.xxxxxxxxx.xx/api/invite/generate

No comments:

Post a Comment