Top "Httpclient" questions

DO NOT USE - Use [apache-commons-httpclient], [apache-httpclient-4.x], [java-http-client], [dotnet-httpclient] or [angular-httpclient]

C#: HttpClient with POST parameters

I use codes below to send POST request to a server: string url = "http://myserver/method?param1=1&param2=2" HttpClientHandler …

c# post parameters httpclient
How to add,set and get Header in request of HttpClient?

In my application I need to set the header in the request and I need to print the header value …

java http servlets httpclient apache-httpclient-4.x
How to add Apache HTTP API (legacy) as compile-time dependency to build.grade for Android M?

As mentioned here, Android M will not support the Apache HTTP API. The docs state to: use the HttpURLConnection class …

android apache httpclient build.gradle android-6.0-marshmallow
No MediaTypeFormatter is available to read an object of type 'String' from content with media type 'text/plain'

This is the situation: Their is a external webservice in Servoy and I want to use this service in a …

c# .net asp.net-mvc json httpclient
Java NoSuchAlgorithmException - SunJSSE, sun.security.ssl.SSLContextImpl$DefaultSSLContext

Background I have been using the Authorize.net SDK in an Eclipse project of it's own. Everything was working great. …

java exception httpclient
HttpClient and using proxy - constantly getting 407

Here is the code: HttpClient client = null; HttpClientHandler httpClientHandler = new HttpClientHandler() { Proxy = new WebProxy(string.Format("{0}:{1}", proxyServerSettings.Address, proxyServerSettings.Port),…

c# .net proxy httpclient
HTTP connection pooling using HttpClient

How can I create a pool of connections using HttpClient? I have to make frequent connections to the same server. …

java httpclient httpconnection pooling
java.lang.NoSuchFieldError: INSTANCE

When trying to submit my topology through StormSubmitter, I am getting - Caused by: java.lang.NoSuchFieldError: INSTANCE at org.…

java spring httpclient apache-storm
Http MultipartFormDataContent

I have been asked to do the following in C#: /** * 1. Create a MultipartPostMethod * 2. Construct the web URL to connect to …

c# post httpclient filestream multipartform-data
Where should I start investigating SocketTimeoutException: Read timed out

Every now and then I see following stacktrace in the log in which, HttpClient socket times out trying to access …

java apache jakarta-ee weblogic httpclient