APIs and Fields

Simulating Requests

GET

curl <url>
curl -I <url>

PUT

curl -T <file> http://www.upload.com/myfile

GET - Params

curl <url>?field=value&field2=value2

GET - Follow Redirect

curl -L <url>

GET - Custom Headers

curl <url> -H "header1: value" -H "header2: value"

GET - Custom Cookies

curl -b "name1=value1; name2=value2" <url>

POST - Form Data

POST - JSON

POST - Send File

POST - Base Auth

Testing parameters

SQL Injection

XSS

Template Injection

RCE

Local File Inclusion

Remote File Inclusion

Last updated