dgurusamy

API request - Data format is wrong

Discussion created by dgurusamy on Apr 6, 2018
Latest reply on Apr 6, 2018 by bigtom


I did calculation and storing datbase as JSON format as below

[

{"id":"160","value":"5675","name":"Tyler" },

{"id":"161","value":"5679","name":"Lenee" }

]

 

When I sent API request to fm database, the result is different. as below

 

[

{\"id\":\"160\",\"value\":\"5675\",\"name\":\"Tyler\"},

{\"id\":\"161\",\"value\":\"5679\",\"name\":\"Lenee\"}

]

its adding back slash with every double quotes.

 

Some one can help me, I'm not sure what is wrong here. Do I need to use JSONSetElement  Please share your experience, Thanks in advance

Outcomes