appendPostDataFromFile: method
Adds data to the post body from a file.
Syntax
-
(
void
)
appendPostDataFromFile
:
(
NSString *
)
file
Parameters
-
file –
Object of NSString class indicating the complete path to the file.
Example 1
[request appendPostDataFromFile:filePath];