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,848
  • 2
  • 30
  • 60
Suhail Mumtaz Awan
  • 3,295
  • 8
  • 43
  • 77

0 Answers0