retrofit callback both application/json and application/x-www-form-urlencoded code example
Example: how to use form encoded in retrofit
@FormUrlEncoded
@POST/GET/PUT/DELETE("/your_endpoint")
Object yourMethodName(@Field("your_field") String yourField,...);