0

I am working with .NET Web API which returns data/xml (list)...

I want to consume this API into JavaScript function and convert response into var list like

var statusList = [{
                   "text": "Completed"
               },{
                   "text": "Not-Completed"
               },{
                   "text": "Started"
               },{
                   "text": "Not-Started"
               }];

XML response enter image description here How can i do that, or any kind of reference will be appreciated.

TTT
  • 1,738
  • 2
  • 26
  • 55
Suhail Mumtaz Awan
  • 3,084
  • 7
  • 40
  • 73

0 Answers0