Top "Httpclient" questions

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

C# unsupported grant type when calling web api

I am trying to perform a Post to my WebAPI from a c# WPF desktop app. No matter what I …

c# wpf asp.net-web-api httpclient token
How can I parse JSON string from HttpClient?

I am getting a JSON result by calling an external API. HttpClient client = new HttpClient(); client.BaseAddress = new Uri(url); …

c# json json.net httpclient
The SSL connection could not be established

I am using a third party library (Splunk c# SDK ) in my ASP.NET core application. I am trying to …

c# asp.net-core .net-core httpclient splunk-sdk
Handling HttpClient Redirects

I'm POSTing some data to a server that is answering a 302 Moved Temporarily. I want HttpClient to follow the redirect …

java httpclient
How to use HttpClient to Post with Authentication

I am trying to do the following curl (which works for me) in C# using HttpClient. curl -X POST http://…

c# .net httpclient
Android JSON HttpClient to send data to PHP server with HttpResponse

I am currently trying to send some data from and Android application to a php server (both are controlled by …

php android json httpclient httpresponse
HttpClient NoClassDefFoundError

I am trying to run a sample application from HttpClient 4.0.1. It is the file ClientMultiThreadedExecution.java from the examples section. …

java classpath httpclient classnotfound
httpclient exception "org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection"

I am trying to send request to my server, with following code. it failed at 3rd request, always. import java.…

java exception httpclient
How to send XML content with HttpClient.PostAsync?

I am trying to fulfill this rest api: public async Task<bool> AddTimetracking(Issue issue, int spentTime) { // POST /…

c# post httpclient
Android HttpClient and HTTPS

I'm new to implementing HTTPS connections in Android. Essentially, I'm trying to connect to a server using the org.apache.…

android ssl https httpclient bad-request