BaderLab / SocialNetworkApp

dropbox
7 stars 4 forks source link

Perform HTTP POST requests with Apache HttpClient instead of java.net.HttpURLConnection #104

Closed kofiav closed 9 years ago

kofiav commented 9 years ago

When performing requests in Java with java.net.HttpURLConnection sometimes the server responds with a 503 error code. Using the Apache HttpClient will be easier because it automates the small tasks. It will also help us pinpoint the cause of the error code (see tutorial at http://hc.apache.org/httpcomponents-client-ga/tutorial/html/index.html).