Skip to content

Update README.md #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const demoApi = new api({
```
### Using OAuth 1 Directly

To communication and authenticate using OAuth 1 with your WordPress site directly:
To communicate and authenticate using OAuth 1 with your WordPress site directly:

```JS
import api from 'wordpress-rest-api-oauth-1'
Expand Down Expand Up @@ -66,7 +66,7 @@ demoApi.getConsumerToken().then( token => {

There is two ways to get authentication tokens, one "high level" function, or you can implement your own flow using the underlaying function.

##### The Quick Way
##### The Quick Way

```JS
demoApi.authorize().then( function() {
Expand Down