Top "Httpclient" questions

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

Error: No provider for HttpHandler in angular2

I am trying to implement HttpCache through interceptor. Following is the caching-interceptor.service.ts import { HttpRequest, HttpResponse, HttpInterceptor, HttpHandler, HttpEvent } …

angular httpclient
get NoHttpResponseException for load testing

I'm running load tests for my application. I have two servers: one with my application and a dummy-server that is …

java tomcat httpclient
Set Authorization Header of HttpClient

I have the following code, and I want to set the Authorization of the post request to be like this: …

c# authorization httpclient httpcontent
Post JSON HttpContent to ASP.NET Web API

I have an ASP.NET Web API hosted and can access http get requests just fine, I now need to …

c# asp.net-web-api httpclient httpcontent
HttpClient vs HttpWebRequest for better performance, security and less connections

I discovered that a single HttpClient could be shared by multiple requests. If shared, and the requests are to the …

c# asp.net-web-api httpwebrequest httpclient
Which exceptions can HttpClient throw?

I am using HttpClient in a xamarin forms project The class is documented, but I can not find any documentation …

c# httpclient
how to check SSL certificate expiration date programmatically in Java

I need to extract expiration date from SSL certificate on web site in Java,should support both trusted and self-signed …

java ssl https httpclient ssl-certificate
HttpClient - task was cancelled - How to get the exact error message?

I have the following test code. I always get the "Task was cancelled" error after looping 316934 or 361992 times. If I …

c# httpclient async-await
Ruby - net/http - following redirects

I've got a URL and I'm using HTTP GET to pass a query along to a page. What happens with …

ruby curl http-headers httpclient net-http
Singleton httpclient vs creating new httpclient request

I am trying to create layer for webservice using HttpClient in my Xamarin.Forms mobile app. without singlton pattern with …

c# xamarin design-patterns httpclient