8000 Merge pull request #2968 from WP-API/remove-filter-reference-in-readme · WP-API/WP-API@3a9807d · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Commit 3a9807d

Browse files
authored
Merge pull request #2968 from WP-API/remove-filter-reference-in-readme
Update README to remove mention of `filter`
2 parents 1e65e9f + 2378fa0 commit 3a9807d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ site's data in simple JSON format, including users, posts, taxonomies and more.
2828
Retrieving or updating data is as simple as sending a HTTP request.
2929

3030
Want to get your site's posts? Simply send a `GET` request to `/wp-json/wp/v2/posts`.
31-
Update user with ID 4? Send a `PUT` request to `/wp-json/wp/v2/users/4`. Get all
32-
posts with the search term "awesome"? `GET /wp-json/wp/v2/posts?filter[s]=awesome`.
33-
It's that easy.
31+
Update user with ID 4? Send a `PUT` request to `/wp-json/wp/v2/users/4`. Get the page
32+
with slug "about-me"? `GET /wp-json/wp/v2/pages?slug=about-me`. Get all posts with
33+
the search term "awesome"? `GET /wp-json/wp/v2/posts?search=awesome`. It's that easy.
3434

3535
The WordPress REST API exposes a simple yet easy interface to WP Query, the posts
3636
API, post meta API, users API, revisions API and many more. Chances are, if you

0 commit comments

Comments
 (0)
0