Retrofit 2 — Send JSON Requests and Receive XML Responses (or vice versa)
In most cases, your app will send and receive all server data in the same data format. For example, if you interact with the GitHub API, you'll send and receive JSON. Nevertheless, Retrofit is quite flexible in its design and allows support for multiple data formats at the same time, …
Continue Reading