DO NOT USE - Use [apache-commons-httpclient], [apache-httpclient-4.x] or [dotnet-httpclient]
7
votes
1answer
23 views
Why I am getting different HttpResponse than browser in android?
I am trying to get simple HTTP response from this URL : http://realtorsipad.demowebsiteonline.net/eventsfeed.php
But surprisingly it not returning expected XML response rather returning another HTML ...
0
votes
0answers
8 views
When attach a file to JIRA issue attachment using HTTPClient Post method, JIRA return JSON object is “[]”
I have tried to attach a file to JIRA issue attachment by using HttpClient post method - the return JIRA JSON object is []. Pleas find my code block below.
using System;
using ...
0
votes
0answers
12 views
.NET 4.5 HttpClient PUT or POST over SSL always fails
I am having a terrible time troubleshooting this issue. I'm also having a terrible time reproducing it consistently from one application to another.
Under certain circumstances, which I cannot seem ...
0
votes
1answer
14 views
Post a text request in Casablanca (C++ REST SDK)
I am writing a client side code in Visual C++ 2012 using C++ Rest SDK (codename "Casablanca").
I have a client created and wish to POST a text string to the server. However, when I send the following ...
0
votes
1answer
25 views
Request entity is too large with httppost
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
...
0
votes
3answers
19 views
Google places and autocomplete Edittext
Why is the following code only returning me a "{" i.e start of a JSON string and not the entire JSON? When i type the URL in the browser it returns me the complete JSON.
I tried to buffer the response ...
0
votes
1answer
22 views
Android - How to fill data in an HTML form on an external website and hit the upload button?
I have an Android device. I want to fill a form in my app, with edittexts etc (one of these fields would take the path of an image on the SDCard). I want these form contents to be the data for an HTML ...
0
votes
0answers
8 views
HTTP Digest Authetnication issue
People,
I have this issue bothering me since this week.
I am implmenting a http client, and am adding the support for digest authentication.
Testing scenario is simple:
MS IIS 7.5 server, IE browser ...
0
votes
2answers
25 views
template parsing URL in java
I have a application that receive a message from SMPP server and forward the received message to users web services. all users have a URL in database like this:
...
0
votes
1answer
22 views
Android HttpClient execute - NumberFormatException. Why?
Sorry for my bad English. I connect to site with HttpClient, but on httpclient.execute(httppost) I get NumberFormatException but httpclient.execute(httppost) is normal work and return right response
...
1
vote
0answers
21 views
HTTPS support on Windows Phone 8 HttpClient
I am trying to use Nuget Http client library:
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, url);
request.Headers.Add("UserAgent", "Windows 8 app client");
HttpClient ...
0
votes
0answers
33 views
Salesforce.com login page not accessible from java code from with in a proxy
I am new to salesforce.com platform. I am trying to execute the demo application given at http://wiki.developerforce.com/page/Getting_Started_with_the_Force.com_REST_API. The sample application is ...
0
votes
0answers
11 views
httpcomponents's ssl connection results in socket is closed
I am trying to get some data from webserver which works fine with http.
But when I try https(ssl connection), I get the exceptions like below.
I get the http status code 200 and response content ...
0
votes
1answer
15 views
How do i send BasicAuth with HttpClient.get_async in ruby?
I've tried the following but the BASIC_AUTHENTICATION flag does not seem to be getting set on the other end, and am getting an '401 Unauthorized' error.
client = HTTPClient.new
client.set_auth(nil, ...
3
votes
3answers
46 views
How to encode russian text in Post request using Apache HttpClient?
There is the following Java code:
public static void register(UserInfo info) throws ClientProtocolException, IOException, JSONException, RegistrationException {
List<NameValuePair> ...