I am using WordPress in my site. The response I am getting from the server is HTML.
What do I need to do to get a server response in JSON format?
I am using WordPress in my site. The response I am getting from the server is HTML.
What do I need to do to get a server response in JSON format?
Have a look here Android HTTP Request for CakePHP URL , it's not exactly the same but to close to your question.