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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

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

psaxena
1-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.

2 REPLIES 2

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) 

Top Tags