addFile:forKey: method

Adds the contents of a local file to the request.

Syntax

- ( void ) addFile : ( NSString * ) filePath forKey : ( NSString * ) key