Skip to content

Commit

Permalink
Merge pull request #5 from elevati/development
Browse files Browse the repository at this point in the history
Update documentation about passing type param
  • Loading branch information
Salil Kothadia authored Mar 3, 2017
2 parents 50d54ec + 142fbd9 commit 192fd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Use the Endpoint: '/wp-json/wp/v2/multiple-post-type'

List:

`GET` request to `/wp-json/wp/v2/multiple-post-type&type[]=post&type[]=page`
`GET` request to `/wp-json/wp/v2/multiple-post-type?&type[]=post&type[]=page`

Get the page with slug "about-me":

Expand Down

0 comments on commit 192fd43

Please sign in to comment.