retrofit
retrofit copied to clipboard
A type-safe HTTP client for Android and the JVM
What kind of issue is this? - [ ] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to...
The path of a URL contains a colon symbol which is causing the call to fail. Using version com.squareup.retrofit2:retrofit:2.5.0 Code: ``` public interface ClientApi { @PUT("user:email={email}/login") Call login(@Path("email") String email,...
Hi. Where Can I find more detailed documentation about `@Streaming` annotation?
What kind of issue is this? - [x] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand...
What kind of issue is this? - [x] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand...
Can be reproduced by simple test: ```kotlin @Test fun await404() { val retrofit = Retrofit.Builder() .baseUrl(server.url("/")) .addConverterFactory(ToStringConverterFactory()) .build() val example = retrofit.create(Service::class.java) server.enqueue(MockResponse().setResponseCode(404)) try { runBlocking { val deferred =...
I'm trying to get Retrofit to work with polymorphic types, something like this: ```java public static interface Vehicle { } public static class Car implements Vehicle { @JsonProperty("type") public String...
When I implement 'com.squareup.retrofit2:retrofit:2.9.0' in my project, I can not find @Get、@Post annotation etc. What should I do ?
If we have Java 8+, `java.lang.reflect.Parameter.getName()` can enable clearer error messages that use the parameter's name instead of its index, eg: Body parameter value must not be null. (parameter 'body')...
What kind of issue is this? - This is a very rare case whereby, it happens to 'some client' sending image files missing when using retrofit. Below here my sample...