How can I make a post call?

6 views
Skip to first unread message

Victor

unread,
Aug 10, 2009, 9:25:05 PM8/10/09
to OAuth Objective-C
When I tried to make a post query,
I am thinking to add a method to ,
- (void)performPostMethod:(NSString *)inMethod atURL:(NSURL *)inURL
withParameters:(NSDictionary *) inParameterDictionary withTarget:(id)
inTarget andAction:(SEL)inAction {


but I noticed current design, MPOAuthURLRequest call only has member
- (void)addParameters:(NSArray *)inParameters;
does not support (NSDictionary *)inParameterDictionary;

It will not convenient to make a post call.

Will you have plan to extend it or do you have better solution for
post method?
Could you please provide some sample code?

Thanks.
Reply all
Reply to author
Forward
0 new messages