Home>

You can get the published article by entering the following URL in the URL tab field of google chrome. It is not acquired.

URL to enter in the URL tab field of google chrome

http: // URL/test02/wp-json/wp/v2/posts? per_page = 100&offset = 200
// Take the expected value (acquire every 100 records, then start from the 101st line)

Contents entered with curl command

curl http: // URL/test02/wp-json/wp/v2/posts? per_page = 100&offset = 200
// Unable to get the expected value (get every 100 records, but get from the first line)

The REST API was authenticated with reference to the following URL, but the acquisition was not successful.
https://wp-kyoto.net/curl-post-delete-wp-rest-api-posts

In the look, posts? If there are multiple optional parameters below, the curl command does not seem to recognize them well, but I want to know the correct way to write them.