Enumerate HTTP Methods

Find which HTTP methods a server allows (e.g. OPTIONS, PUT, DELETE).

With curl, asking the server directly:

curl -i --request-target "*" -X OPTIONS [host]

With nmap’s http-methods script:

nmap -Pn -p80 --script http-methods [host]