johnny-dreamguns
10/7/2019 - 10:18 PM

Content types for post requests

Content types for post requests

Both send a list name value pairs

application/x-www-form-urlencoded

Data is sent deprecated by ampersands

MyVar=ValOne&MyVar2=ValTwo

Raw Post:

POST /path/script.cgi HTTP/1.0 From: frog@jmarshall.com User-Agent: HTTPTool/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 32

home=Cosby&favorite+flavor=flies

multipart/form-data

Format is complicated