I want to get the content of request object after it serializes passed object. I want to uderstand how retrofit serilizes my object.
@POST("/RegisterNewDevice")
public void registerDevice (@Body Device device,
retrofit.Callback<ResultBooleanResponse> callback);
How retrofit will represent my Device object? Let's say it is defined as follows:
public class Device {
private int id;
private String deviceName;
//... constructors, getters and setters ...//
}
Because of https connection used for my services I cannot intercept it easily.