Support » Plugin: WP REST API (WP API) » API returns "null" for /users

  • Resolved jack-kerouac



    when issuing a simple GET to /users the API just returns the string null. Same thing happens when I try to create a new category by POSTing JSON to /posts/types/post/taxonomies/category/terms.

    What do I do wrong? Maybe wrong authentication? The API should probably respond with a meaningful error.

    Thanks for your work!


Viewing 3 replies - 1 through 3 (of 3 total)
  • Still occurs with the JSONT-REST-API 0.8 and WordPress 3.8. I should also mention that I configured the WordPress installation to host multiple sites.

    Check this:

    array( '__return_null', self::READABLE )
    Means that they’ve not started on it yet. As we have not a 1.0 not every part of the API has been worked on yet.

    Thanks for the response.
    I did not expect the API to return the string “null” for unimplemented parts, but maybe something like “not implemented”. Thus, I did not look up the source code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘API returns "null" for /users’ is closed to new replies.