Adds the contents of an NSData object to the request.
Syntax
-
(
void
)
addData
:
(
id
)
data
withFileName
:
(
NSString *
)
fileName
andContentType
:
(
NSString *
)
contentType
forKey
:
(
NSString *
)
key
Usage
You can specify the content-type and file name.