I created a function that returns a boolean based on the presence of an internet connection, this function it is called different times from different ...
I created a function that returns a boolean based on the presence of an internet connection, this function it is called different times from different ...
I'm having a hard time with calling a function when I select on the files. When I select on a file, it start to take like 10 seconds before it start ...
I have POST API endpoint in Java , which is like below which is to be called for storing student marksheet in the portal. POST API endpoint And ha ...
I have to write an application to render PDF documents with Thymeleaf. These documents are stored in a remote server and are accesed through HTTP. I ...
So I have a code like this, the reason I write it to a class is because sometime HTTP response can delay or contain error. runOnUiThread required acti ...
I am trying to build an HTTP request to be sent via a proxy that accepts a proxy header. I am trying to find a way to set that, but couldn't see it. ...
Am experimenting with salesforce apis by creating and patching with its api services.I dont know how to create a custom profile with the help of its a ...
I am getting pdf file in response of API, I am using HttpUrlConnection (Android Java). I am unable to get pdf file from the response. My code to get r ...
The spring.messages.basename is set to an IP address like: That is the IP of a spring cloud config server. When the app starts up, it's trying to s ...
In order to send a string data to the server once, I do as below: Make “HttpURLConnection” to my URL address and open it Set the required heade ...
To a certain website , i am making HTTP head request to get header data using java. I have used the following code to do that. Now the problem is , ...
I am trying to do a mock test for my class,but i am getting an error Code: and Test class: Error: I Modified when(ConnectService.connection ...
First of all, I can't change the cookie name. I would encode it if I had control over it. I don't know how they could add a cookie with invalid chars ...
I am trying to do a mock test for my class, but it does not work. Original class: Test class: I tried to mock using Mockito and PowerMockRunner ...
I am trying to save the zip file i am receiving from a service call . Below is the code i am trying to save it . Am not getting any error but not gett ...
Tried to generate access token using oauth grantType password.But getting java.io.IOException: Server returned HTTP response code: 400 for URL: https: ...
Due to company policies, I cannot share the complete code here, but here is where the code fails: The Exception is: The things I have tried: ...
I have created a basic ReactJs website and hosted it using GoDaddy cPanel and secured domain through "Punchsalad" site using free SSL for 90 months. W ...
I have a server to which I want to send post requests in the form of json in Java. But after sending, it gives the answer: "KeyError: 400 Bad Request: ...
Android 6.0 - 11.0. СompileSdkVersion 30 minSdkVersion 23 HttpURLConnection ignores proxy - when specifying a non-existent address, it does not swear ...