Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
for example we want to post json which contains an ID and based on that id we want to get the json which contains all details of that id.
Priyanshi Saxena , I would suggest reading the following article .
Is HTTP POST request allowed to send back a response body? - Stack Overflow
Hi Ravi,
I tried using postJson for the same, which would post some content to the mentioned url and the result would receive a json. when I receive the result in the form of json array it is giving me an error as Undefined variable length(I used result.array.length function to loop through)