Hypertext Transfer Protocol is an application level network protocol that is used for the transfer of content on the World Wide Web.
1
vote
1answer
8 views
410 code not getting captured but throwing error instead
I got this code which is trying to capture 410 code, but it's throwing error at first line and not going through rest of the code,
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
...
0
votes
1answer
24 views
Asynchronous http calls with nodeJS
I would like to launch asynchronous http calls on my server node, i saw the async node module and i guess the async.parallel enables us to do that.
The documented example is pretty clear, but i don't ...
0
votes
0answers
10 views
Does the Couchbase REST API support NON-JSON data (binary data)
I am storing c structures to couchbase, I am doing so so that I can read back these structures later and process directly, I am avoiding the steps of
1 )C structure - > JSON while storing
and
2 )JSON ...
0
votes
0answers
8 views
What substitute is available for the Refresh Meta tag in a service like the Google Reader “Magic” bookmark?
On July 1, 2013, Google Reader is shutting down. I am trying to build a service that will replace the "magic" bookmark feature of Google Reader for my own use. The bookmark is an underutilized and ...
0
votes
0answers
5 views
java.io.IOException: Channel not open for writing
I am saving a data read from the HTTP response onto a file on disk. This is successful.
outputFileName = "E:/output/file.mp4";
ChannelBuffer chanBuff = response.getContent();
FileOutputStream ...
0
votes
1answer
13 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
3answers
39 views
Get only the response code not the full source of a url
I have an URL and i want only to check the response code of the page and not the complete page source as fetching the the complete page source is quite slow. what is right way to go ?
does ...
1
vote
1answer
23 views
Cannot establish HttpURLConnection in Android
URL url = new URL(versionPath);
Toast.makeText(getApplicationContext(), versionPath, Toast.LENGTH_SHORT).show();
HttpURLConnection c = (HttpURLConnection) url.openConnection();
...
2
votes
1answer
22 views
Recording HTTP in Python with Scotch
I am trying to record HTTP GET/POST requests sent by my browser using the library scotch.
I am using their sample code: http://darcs.idyll.org/~t/projects/scotch/doc/recipes.html#id2
import ...
0
votes
0answers
4 views
Portal reverse proxy change ports APACHE PROXY LINUX
We have a portal. the portal is used to reach some resources available internal, like http://www.resource.com/agent.
Via the portal(on internet) www.portal.com, we can reach the internal resource ...
0
votes
0answers
17 views
Cant POST XML over cURL in Unix
I am trying to submit a HTTP POST request into a web server that runs IIS.
curl -X POST -d
but I am getting an HTML page definition in return.
I have looked and didn't find any match, your ...
0
votes
0answers
26 views
How can I make an http request from node to a local file?
I am working on a node.js script to read from an API. I have a mockup file that will be the end result of the API on my filesystem.
without spinning up a web server to serve the mockup on my local ...
0
votes
1answer
51 views
How to handle comma in url in c#
My url string is
"https://MyCom.Produect.App.ResourcePath/ts?Customer_Account=A B C\, LLC,D E F\, LLC&Billing_Code=11,12&fromDateTime=2013-05-13&toDateTime=2013-06-13"
If I copy it in ...
0
votes
2answers
38 views
Basic PHP image upload not working
I'm trying to debug an issue with a WordPress 3.5.1 where I cannot upload media via HTTP at all; the media uploader simply says "HTTP error" and fails. To diagnose what's going on, I decided to write ...
0
votes
0answers
7 views
SSL3 POST with Python
I have a pile of tasks to automate within cPanel. There is a cPanel API described at http://videos.cpanel.net/cpanel-api-automation/ but I tried what I thought was easier for me...
Based on an answer ...