cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

what to do when we have to post and get json at the same time i.e we post some data and based on that we get the the json but both at one service call

Newbie

what to do when we have to post and get json at the same time i.e we post some data and based on that we get the the json but both at one service call

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.

Tags (2)
2 REPLIES 2
Highlighted

Re: what to do when we have to post and get json at the same time i.e we post some data and based on that we get the the json but both at one service call

Re: what to do when we have to post and get json at the same time i.e we post some data and based on that we get the the json but both at one service call

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)