Skip to content

Commit 192fd43

Browse files
author
Salil Kothadia
authored
Merge pull request #5 from elevati/development
Update documentation about passing type param
2 parents 50d54ec + 142fbd9 commit 192fd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Use the Endpoint: '/wp-json/wp/v2/multiple-post-type'
1111

1212
List:
1313

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

1616
Get the page with slug "about-me":
1717

0 commit comments

Comments
 (0)