Closed 4sskick closed 7 years ago
@Override
protected Map getParams() throws AuthFailureError {
HashMap params = new HashMap<>();
params.put("validator", "afe13Rg78#*Agy");
params.put("userId", String.valueOf(GlobalFunction.getCurrentUserId()));
params.put("token", GlobalFunction.getCurrentToken());
return params;
}
you can write like this
great! thank you for your solution, it works to me
Hi, I've been walking around looking for an answer. I need to passing arrayList and string at the same time as parameter with method POST. Like you know for passing parameter in body as parameter we have to define it inside getparams method like below example
how can I passing arraylist and string for a parameter body at the same time?