Created
August 22, 2012 13:49
-
-
Save matzew/3425758 to your computer and use it in GitHub Desktop.
baseURL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
// create a shared client for the demo app: | |
NSURL* testURL = [NSURL URLWithString:@"http://todo-aerogear.rhcloud.com/todo-server/"]; | |
restClient = [AGHttpClient sharedClientFor:testURL]; | |
... | |
// path is the 'endpoint': | |
[restClient postPath:@"projects" parameters:parameters success:........]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment