Skip to content

Commit 5a818c1

Browse files
committed
Merge pull request #134 from doc-iwatersports/README-changes
Update README.md
2 parents 1c909f2 + 40ac20e commit 5a818c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ This payload will be stored together with the accounts in the Keychain. Thus it
161161

162162
### Invoking a Request
163163

164-
An request using the authentication for a service can be invoked via `NXOAuth2Request`. The most convenient method (see below) is a class method which you pass the method, a resource and some parameters (or nil) for the request and to handlers (both optional). One for a progress and the other for the response. The account is used for authentication and can be nil. Then a normal request without authentication will be invoked.
164+
A request using the authentication for a service can be invoked via `NXOAuth2Request`. The most convenient method (see below) is a class method which you pass the method, a resource and some parameters (or nil) for the request and to handlers (both optional). One for a progress and the other for the response. The account is used for authentication and can be nil. Then a normal request without authentication will be invoked.
165165
<pre>
166166
[NXOAuth2Request performMethod:@"GET"
167167
onResource:[NSURL URLWithString:@"https://...your service URL..."]
@@ -175,7 +175,7 @@ An request using the authentication for a service can be invoked via `NXOAuth2Re
175175

176176
#### Getting a signed NSURLRequest
177177

178-
In some circumstances you have to go the *god old way* and use an `NSURLConnection`. Maybe if you to download a large file. Therefore `NXOAuth2Request` gives you the possibility to get an `NSURLRequest` containing the additional information to authenticate that request.
178+
In some circumstances you have to go the *good old way* and use an `NSURLConnection`. Maybe if you to download a large file. Therefore `NXOAuth2Request` gives you the possibility to get an `NSURLRequest` containing the additional information to authenticate that request.
179179

180180
<pre>
181181
NXOAuth2Request *theRequest = [[NXOAuth2Request alloc] initWithResource:[NSURL URLWithString:@"https://...your service URL..."]

0 commit comments

Comments
 (0)