Top "Retrofit" questions

Retrofit is a type-safe REST client for Android and Java by Square, Inc.

How to POST raw whole JSON in the body of a Retrofit request?

This question may have been asked before but no it was not definitively answered. How exactly does one post raw …

android rest http-post retrofit android-json
Comparison of Android Web Service and Networking libraries: OKHTTP, Retrofit and Volley

Two-part question from an iOS developer learning Android, working on an Android project that will make a variety of requests …

android networking retrofit android-networking android-webservice
POST Multipart Form Data using Retrofit 2.0 including image

I am trying to do a HTTP POST to server using Retrofit 2.0 MediaType MEDIA_TYPE_TEXT = MediaType.parse("text/plain"); …

android retrofit androidhttpclient retrofit2
Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $

What is this error ? How can I fix this? My app is running but can't load data. And this is …

android json gson retrofit
Retrofit 2: Get JSON from Response body

I want to get string json from my api using retrofit 2, I have no problem when using retrofit 1 to get …

android json retrofit retrofit2
Call another rest api from my server in Spring-Boot

I want to call another web-api from my backend on a specific request of user. For example, I want to …

api spring-boot spring-data retrofit
Logging with Retrofit 2

I'm trying to get the exact JSON that is being sent in the request. Here is my code: OkHttpClient client = …

java retrofit retrofit2 okhttp3
Send Post Request with params using Retrofit

I'm trying unsuccessfully to consume an API on Android using Retrofit library but while using POSTMAN I can see the …

android post retrofit
Retrofit 2.0 how to get deserialised error response.body

I'm using Retrofit 2.0.0-beta1. In tests i have an alternate scenario and expect error HTTP 400 I would like to have …

java retrofit retrofit2
Retrofit and GET using parameters

I am trying to send a request to the Google GeoCode API using Retrofit. The service interface looks like this: …

android get retrofit