appendPostData: method
Adds data to the post body.
Syntax
-
(
void
)
appendPostData
:
(
NSData *
)
data
Usage
Will append to postBody when shouldStreamPostDataFromDisk is false, or write to postBodyWriteStream when true Adds data to the post body. Will append to postBody when shouldStreamPostDataFromDisk is false, or write to postBodyWriteStream when true
Usage
id<SDMRequesting> m_Request = [SDMRequestBuilder requestWithURL:url];
NSData* postBody = <data>;
[m_Request appendPostData:data];
...