android - Volley postparams array -


i've got 1 object containing 2 arrays of integer , want past object in params of post request.

{   "arrayofinteger1": [     1,     2   ],   "arrayofinteger2": [     1,     2   ] } 

i'm struggling method "getparams" hours now, me please?

getparams wont work in case because expects map<string,string> output can create json representation of above object , pass jsonobjectrequest(request.method.post, string url, jsonobject yourrequestobject,listener<jsonobject> listener, errorlistener errorlistener) or jsonarrayrequest similar parameters depending upon response expect


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -