Sign in to Community
Sign in to view all badges
I am trying to make an API call and need query results in the request body. I am finding it difficult to convert the result into a JSON body. Any help is appreciated. Thank you.
Hi @Raj_bounteous ,
Try this JSON.stringify(result)
Can you try using this library?
It has an option to parse with namespaces and root nodes.
I tried it in different way and it worked. Created an array with quotes and somehow stringify was throwing error. Didnt use that.