HTTP Request Body / Content Types

Content Type Body Handling Typical Usage Test Entities
application/x-www-form-urlencoded Form Data Standard HTML forms Parameter name, parameter value
multipart/form-data Multipart Form Data File uploads, complex forms Field name, field value, filename, file content
application/json JSON REST APIs JSON key, JSON string value, nested value
application/xml XML XML APIs Element name, element value, attribute name, attribute value
text/xml XML SOAP and legacy XML services Element name, element value, attribute value
text/plain Raw Body Text-based API requests Raw body content
application/octet-stream Binary Body Binary uploads Binary body content, where supported
Previous Post
self-service assessment
Next Post
HTTP Request Attack Surface Entities