I'm using API from a website and it needs two strings String one: modelId String two: inferenceId both of them are equal to value My issue is in Ex ...
I'm using API from a website and it needs two strings String one: modelId String two: inferenceId both of them are equal to value My issue is in Ex ...
As I need to initialize add headers as global to get headers in all API call, I have tried but while debug its not sending the headers in API call. ...
I am using okhttp library to connect my local websocket server (android app). And webSocketListener But, when I try to run the app the connectio ...
I am having a bit of an issue with logging my headers. Here is my class that implements interceptor: And here is my ApiClient class: I feel the ...
I'm building a mobile app that is meant to get server sent events in a background service. I can get SSE events when the app is open but when the app ...
My RN app crashes when it tries to call an api. If I turn the api calling off the app works fine. I get error when it crashes Here is my build tool ...
We've been using okhttpClient in our android app, and noticed that OkHttpClient lib is quietly retrying requests, with the config retryOnConnectionFai ...
I am developing an Android SDK/library, In here I am performing several network calls. But I don't want the Application developer(who uses my SDK) can ...
Why do I get this error "content-type of request should be application/json", because I encoded it application/json? How to correct it? In Postman the ...
public class APIService { } The JSON response from crypto API looks very fishy. 1-60 results, there is no problem in getting the data. But when I ...
I am working with a usecase where my application is using okhttp [version:3.14.9] which is written in java, I am also importing some external dependen ...
In okhttp interceptor code, is it possible, after a call was cancelled, to read whatever partial response data might have been returned by the server? ...
TokenInterceptor.class ApiClient.class MainActivity.class W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'a ...
I am trying to send a simple post request to MongoDB using okhttp. Here is the code that I am working with: However, when the code is run in my And ...
why okhttp4.x use the replaceWith to forbid developer to get response's code like response.code(). Deprecated( message = "moved to val", replaceWith = ...
I have a websocket hosted on a server which has been tested and works. I cant identify any error messages in the logs. The connect to the servers web ...
I've been trying to get data on the RecycleView for a day now, but it doesn't work. An error comes out: E/AndroidRuntime: FATAL EXCEPTION: main Proce ...
I am trying to get the error of the body. I have a code, but it fails in try block and goes directly to catch block. So i receive http 400 error, but ...
Home.class } MainActivity.class Adapter.class Model.class ModelArray.class Interface.class JSON type I've been trying to get d ...
I have to develop a REST API that should be connected to other webservices and java application that can handle database insertion. I do have a lot of ...