python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Exception : java.lang.IllegalStateException: Already connected
Hi I'm trying to use HttpURLConnection to send some POST data to a server using the HttpURLConnection class as shown below but it is throwing "java.lang.IllegalStateException: Already connected.&...

Harish Dalmia
Votes: 0
Answers: 1
android - unable to post large data via Uri.Builder
I post my data via Uri.Builder to the server . I've a very large data in my variable , this is the data :
630#738#6589#7772#7771#7769#7768#7767#7766#7765#7764#7763#7762#7761#7760#7759#7758#7757#7756#7...
Navid Abutorab
Votes: 0
Answers: 1
UrlConnection API Call takes much more time the first time, then onwards it is comparable to curl.exe or postman
I have observed that one of my api is taking much more time if called through Java (URLConnection or Apache Http Client or OKHttp) for the first time. For the subsequent calls, the time is much lesser...
Anshuman Chatterjee
Votes: 0
Answers: 2