Answer the question
In order to leave comments, you need to log in
Is it possible to create a POST request in Retrofit 2 with nested parameters?
Recently started working with retrofit 2. Is it possible to write a POST request with a nested parameter or parameters? I can't find anything like it anywhere. But the task is worth it.
query in kuverti looks like this: account%5Bfirst_name%5D=123%20123&token=12ad8d329f383a52d57e88d52864ea993bcd0441
general parameters: ["account" : ["first_name" : "vasya"], "token" : "2bgjh6234hjvh634"]
Answer the question
In order to leave comments, you need to log in
So it's like JSON, retrofit works with it: ru.stackoverflow.com/questions/466845/retrofit-2-p...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question