• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REST returnin XML insted of JSON

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic