Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

REST returnin XML insted of JSON  RSS feed

 
Sahil Reddy
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys

I am using Moodle Web Services . I am using Moodle 2.3. I am getting response as XML but i want to get response in JSON.

How can i mention it on HttpUrlConnection Object for the Web service to return JSON instead of XML ??

Thanks and Regards
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!