FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
NSMutableURLRequest POST extension. More...
#import <NSURLRequest.h>
Instance Methods | |
(void) | - setHTTPPostBody: |
Sets the request body of the receiver to the specified data from bodyDictionary and given encoding as url form format. More... | |
(void) | - setHTTPPostBody:encoding: |
Sets the request body of the receiver to the specified data from bodyDictionary as url form format. More... | |
NSMutableURLRequest POST extension.
- (void) setHTTPPostBody: | (NSDictionary *) | bodyDictionary |
Sets the request body of the receiver to the specified data from bodyDictionary and given encoding as url form format.
bodyDictionary | The new request body of the receiver to the specified data from dictionary with url form encoding. Objects should be NSString compatible objects only. |
- (void) setHTTPPostBody: | (NSDictionary *) | bodyDictionary | |
encoding: | (NSStringEncoding) | encoding | |
Sets the request body of the receiver to the specified data from bodyDictionary as url form format.
bodyDictionary | The new request body of the receiver to the specified data from dictionary with url form encoding. Objects should be NSString compatible objects only. |
encoding | String encoding of bodyDictionary values. |