Instance Property

HTTPBody

The request body.

Declaration

@property(copy) NSData *HTTPBody;

Discussion

The request body is sent as the message body of the request, as in an HTTP POST request. Setting the HTTP body data clears any input stream in HTTPBodyStream. These values are mutually exclusive.

See Also

Accessing Request Components

HTTPMethod

The HTTP request method.

URL

The URL being requested.

HTTPBodyStream

The request body as an input stream.

mainDocumentURL

The main document URL.