Skip to content

Commit 30f3874

Browse files
authored
Merge pull request #18 from dcsiebe/oauth_doc_fix
docs(oauth2): fix example request headers
2 parents cf7a755 + de07a06 commit 30f3874

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/api/oauth2.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ scope. Example, to request an access token for the user `tenant` with password
2626

2727
```http
2828
POST https://api.itslanguage.nl/tokens HTTP/1.1
29-
Accept: application/x-www-form-urlencoded
29+
Content-Type: application/x-www-form-urlencoded
30+
Accept: application/json
3031
3132
grant_type=password&username=tenant&password=secret&scope=tenant%2Ftenant
3233
```
3334

34-
Note the `Content Type` of the POST.
35+
Note the `Content-Type` of the POST.
3536

3637
### Response
3738

0 commit comments

Comments
 (0)