Now i`m adding array as string to body:
RequestBody body = new FormEncodingBuilder()
.add("profiles", "[122, 125, 336]")
.build();
But the server need array on post parameter. How can i add array instead of string? Is it posible with okhttp?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…