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
How can i do that, or any kind of reference will be appreciated.