Hi There,
For a given URL, I want to check if the content has changed since the last time. The content for the (http) URL is generated by a script which goes through several modifications regularly. Need to see if there are any regressions caused by this changing of the script.
Prac
...
<form action="somesite.com" name="somename">
<input type="text" name="data" value="">
</form>
If I try to execute this code in my local system, the value with the name 'data' will be transferred to the site 'somesite.com'
Is it the right way to transfer the data to any other web site which already exists? What will happen to that ...
How to enable client side cookie for a page so that when a page is invoked for the first time , it works fine. Bur whe nthe same page is invoked for the second or third time , it gets redirected to other page.
i.e. Only one tab works at a time.
In rest of the other tabs, a default sequence works.
...
I am working on an applet that interfaces with a signature pad. The signature pad API has a function that returns a BufferedImage (assume its called API_CALL_TO_RETURN_BUFFERED_IMAGE()). I can encode to jpeg and write this image to file just fine (Using FileOutputStream). However, instead of writing to the local disk, I need to upload...
Short version of the question:
Does "GET" at a particular URI need to match what was "PUT" to that URI?
I think not. Here's why:
Given that a resource is an abstract thing that is theoretically unknowable by the client, when we do a PUT, we must be only sending a representation. Based on combing over RFC2616, it doesn't seem entirely...
Hi all,
I need to call a url from my iphone when i tap on a button.
The url is taking a value from the UITextField as argument, also it is using a POST method to invoke the webservice. how do i use the URL in my iphone. I had done the same with GET method. but for that i created a url string with the value from the textfield. it cant b...
Hi,
I'll soon be starting a project of mine that heavily involves reading and interacting with websites. So I'd like to start pulling in some decent libraries to cut down on some of the dirty work that needs to be done in C++.
Thus far I've found 'The Better String Library' for string manipulation. Any other suggestions?
...
I want to send Corel Draw .CDR drawing binary files and XML SVG files from the application to a server via HTTP POST.
I have done some research and this existing post seems closest but doesn't work for my situation:
http://stackoverflow.com/questions/158633/how-can-i-send-an-http-post-request-to-a-server-from-excel-using-vba
I've added...
By using python, how can I check if a website is up? From what I read, I need to check the "HTTP HEAD" and see status code "200 OK", but how to do so ?
Cheers
Related
How do you send a HEAD HTTP request in Python?
...
Hello!
I want to receive data from a client. To be precise, all data the client sends. But then I want to send some data back so I don't want to close the connection.
Maybe it's already to late in night (at least in Germany) - how can I do this? Usually I would say I'd put a semicolon or something like that in the end, but protocols l...
Is it possible to use the Google Maps API router just using HTTP? Something like http://maps.google.com?from=blah?to=blah
And have it return some sort of XML or JSON representing the directions?
...
I started out using asynchronism but to get the returned data became a hassle. I then began using class methods which, I believe, ruled out the possibility of using the delegate methods. So I kept with the synchronous, knowing that this would be an issue but didn't think I would have this much difficulty with a solution. What is the best...
I have a site that treats "/" and "%2F" in the path portion (not the query string) of a URL differently. Is this a bad thing to do according to either the RFC or the real world?
I ask because I keep running into little surprises with the web framework I'm using (Ruby on Rails) as well as the layers below that (Passenger, Apache, e.g., ...
I am writing a simple snippet which sends a simple post request.
Currently I am building the request like so:
// Construct data
String data = URLEncoder.encode("param1", "UTF-8") + "=" + URLEncoder.encode("val1", "UTF-8");
data += "&" + URLEncoder.encode("param2", "UTF-8") + "=" + URLEncoder.encode("val2", "UTF-8");
//...
I am trying to make HTTP get & post connections.
Which package is recommended for that?
Is it java.net or org.apache.http?
Does java.net comes included in the sdk?
Any reference/code to connection makin would be appreciable as well.
...
I am trying to design a system for something like this with ASP.net/C#.
The users pay for downloading some content (files- mp3s/PDFs,doc etc).I should be able to track the number of bytes downloaded by the user. If the number of bytes downloaded match the number of bytes on the server, I should set a flag in DB (telling that the downloa...
Hello,
I'm quite new to android and try to implement http client to communicate to a REST server. I'm starting with the Get method but I have some problems using android 2.0 on the emulator.
String url = "http://www.google.fr/search?q=android"
HttpClient client = new DefaultHttpClient(new BasicHttpParams());
HttpGet getMethod = new Htt...
How to live stream videos from iPhone to server like Ustream or Qik? I know there's something called Http Live Streaming from Apple, but most resources I found only talks about streaming videos from server to iPhone.
Is Apple's Http Living Streaming something I should use? Or something else? Thanks.
...
We have a web based application in production built using django. It is deployed on nginx proxied with apache which handles the django app via WSGI. OS is Ubuntu.
In addition to the web based front-end, we recently developed a J2ME client for uploading files via mobile phone. The J2ME transfers the file with Transfer-Encoding set as "Ch...
Hi,
I'm new to both of the two libraries. Now I need a java http library in my application. My question is which of the two is more powerful? Thanks.
PS:
Secure iNet Factory:
http://www.jscape.com/secureinetfactory/index.html
...