Support » Plugins » Hacks » Json API

  • Hi coders…
    Im new in wordpress. Do i actually need to install json api plugin in the website to retrieve details from the website to my new android app???
    Actually i got the api url from where i need to get the details.
    i got this kind of URL ‘ http://www.example.org/?json=1&post_type=‘XXX’ ‘ .
    So can i use this URL in my android code without installing JSON API plugin in the parent website?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Not really. Without the plugin, WP does not know what json=1 means. WP and PHP can encode JSON without the API, but some additional coding is required to make this happen on a default installation. Doing so may be more efficient for specific applications, but in your case it sounds like the plugin is the way to go.

Viewing 1 replies (of 1 total)
  • The topic ‘Json API’ is closed to new replies.