I'm having problems to convert an XML response file to JSON using XSJS, Any help will be appreciated. Thanks!
Asked
Active
Viewed 650 times
1 Answers
0
It is actually pretty simple. While sending the request using XSJS to the server...your URL path should contain the format specifier. http://myhost:8000/exampleapp/resource.xsjs/some/more/options?$format=JSON or if you do not want to append to the URL then include the following line your request header accept: application/json

Ajay Reddy
- 1,475
- 1
- 16
- 20