Sunday, 15 July 2012

How to do one json request with same ID -



How to do one json request with same ID -

i trying send 1 post request using json same id.

{"name":"bob"} {"name":"john"} {"name":"doe"}

is possible send post info using 1 request instead of doing 3 different ones

yes, provided whatever you're sending understands you're doing well.

json has arrays objects, so:

[ {"name":"bob"}, {"name":"john"}, {"name":"doe"} ]

if post that, you're sending single array containing 3 objects other end.

json

No comments:

Post a Comment