This question may have been asked before but no it was not definitively answered. How exactly does one post raw whole JSON inside the body of a Retrofit request?
See
You can use hashmap if you don't want to create pojo class for every API call.
HashMap hashMap=new HashMap<>(); hashMap.put("email","this@gmail.com"); hashMap.put("password","1234");
And then send like this
Call register(@Body HashMap registerApiPayload);