Timeline for Error : JSON request body must be an object
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 20, 2018 at 14:16 | comment | added | Enrik Hysko |
@kishore Try the suggested solution from @devendra as: req.setBody('{"jsonBodyList":' + JSON.serialize(jsonBodyList) + '}' and with the above code that I have provided. Let me know if it goes ok.
|
|
Jun 20, 2018 at 10:34 | comment | added | Arvind | I get the same error again.. Yes there were many unnecessary code i forgot to remove it. last 3 lines were important, Updated the question with the latest error, Basically i want to do a qurey which they are sending and append it to result and send it back They will be sending me around 200 JSON(which includes Query also) | |
Jun 20, 2018 at 10:18 | history | answered | Enrik Hysko | CC BY-SA 4.0 |