LiveConnectClient postWithPath:dictBody:delegate method
Performs an asynchronous post for a given path, a message request body, and optionally, a LiveOperationDelegate. The post adds a new resource to a collection.
Signature
- (LiveOperation *) postWithPath:(NSString *)path
dictBody:(NSDictionary *)dictBody
delegate:(id <LiveOperationDelegate>)delegate;
Parameters
Name |
Datatype |
Description |
---|---|---|
path |
NSString |
Required. The OneDrive path to which to send a POST request. |
dictBody |
NSDictionary |
Required. An NSDictionary instance that includes the request body attributes. |
delegate |
id <LiveOperationDelegate> |
Optional. An instance of a class that implements the LiveOperationDelegate protocol. |
Returns
Type: LiveOperation
The asynchronous operation that is used to track the asynchronous REST reference request and get response data once the operation completes.
Defined in
LiveConnectClient.h
Remarks
This method uses an HTTP POST call to the Live SDK REST reference.