I'm trying to implement a REST interface under IIS5.1/ASP-classic (XP-Pro development box). So far, I cannot find the incantation required to retrieve request content variables under the PUT HTTP method.
With a request like:
PUT http://localhost/rest/default.asp?/record/1336
Department=Sales&Name=Jonathan%20Doe%203548
how do I read...
Ok, I know the difference in purpose. GET is to get some data. Make a request and get data back. POST should be used for CRUD operations other than read I believe. But when it comes down to it, does the server really care if it's receiving a GET vs. POST in the end?
...
I'm working on a RESTful web service in Java. I need a good way to send error messages to the client if something's wrong.
According to the Javadoc, HttpServletResponse.setStatus(int status, String message) is deprecated "due to ambiguous meaning of the message parameter."
Is there a preferred way to set the status message or "reason ...
I almost don't even know how to begin describing this question - I am completely baffled. Basically, I have a custom-built F4V video player that grabs an F4V via an HTTP request, then plays the video with some standard AS3.
Now, I have three sites on identical SliceHost slices, running the same OS, same PHP version, built on the same ...
Looking around, I can't name a single web application (not web service) that uses anything besides GET and POST requests. Is there a specific reason for this? Do some browsers (or servers) not support any other types of requests? Or is this only for historical reasons? I'd like to make use of PUT and DELETE requests to make my life a lit...
I am writing a windows service which takes an uploaded file, runs signtool.exe on it to do the signing and timestamping and then serves the signed file back.
The code for this works when run as a standalone server using twisted however if I try and run it as a service it fails with the error "Signing succeeded, but an error occurred whi...
What is the best way for flex frontend to communicate with backend writted in C#? The only communication channel in HTTP, so no custom sockets.
I used SOAP in the past, but am concerned about performance since the large overhead of xml, and this application I'm currently working on will be pretty data intensive.
Anything that supports ...
I'm developing a REST API at the moment, and one of the core features of this is that is uses a variety of HTTP status codes to return status/error information, some of which may be extended information (e.g. if an item is not found, some other similar items) which will be in the response body.
This is fine until you get to 'crippled' c...
Is there a way to access the http request IE made when the page is already loaded. For instance, I have an application that is opening a browser window. I want to scrape the page, but would like to get the entire http request for that page (not just the URL).
I have downloaded the developer tools, but don't see anything in there for the...
Using only standard JEE API (JAAS, Servlet API, JSF) How can I switch back from a CONFIDENTIAL channel to a Unsecured one?
In my example I already managed to switch from an Unsecured channel to a Secured one for the resources in "*/secured/**", but I'm in need to switch back to an unsecured channel after a successful Authentication as t...
I have a page that allows the user to download a dynamically-generated file. It takes a long time to generate, so I'd like to show a "waiting" indicator. The problem is, I can't figure out how to detect when the browser has received the file, so I can hide the indicator.
I'm making the request in a hidden form, which POSTs to the server...
I have a PHP script that uses CURL to fetch a remote page and return the output as is. It displays fine in the browser, but the problem is, when I click a link it is still using the old base url. Can I force the browser with some kind of HTTP Header or something to use the base url of the server that I fetched the page from in my PHP scr...
I'm having issues with IIS7's static compression. I've read some of the other posts, and I'm out of options. Here's what I have:
In the applicationHost.config, I've set up:
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" staticCompressionDisableCpuUsage="100">
<scheme name="gzip" dll="...
When a swf is embedded in a page and is not cached locally in the browser, two requests for the swf are fired by the browser. Here is a simple example.
The first request returns an expected 200 OK, and the second request triggers a 304 Not Modified after the first request has completed, indicating the file is now cached locally.
Why is...
Dear All,
I wanted to develop one HTTP example on win32 platform, which is asynchronous.
I am new to win32 programming, can i know what are the api and library win32 platform
provides for HTTP send and receive request.
I am using windows xp with VS 2005.
If any example is available directly on net please provide me link to it,
wit...
We've got a shopping site which we're hosting on a shared host (Mediatemple Gridserver). Some parts of the site need to use HTTPS (checkout etc) but the rest should be using HTTP.
Does anyone know how we can always force the correct use of HTTP/HTTPS for particular URLs? We've had it working in various states but we can't get a request ...
Hi,
does a service, which is configured like in the box below, throwing a 404 when there is a mismatch in the parameter?
In this case the parameter is a complex type and every call to the SearchJson method returns a 404...
( is it even allowed with the WebInvoke option and WITHOUT the UriTemplate? )
The service is up and running ( i ca...
I have 2 servers. One Reverse proxy on the web and one on a private link serving WebDAV.
Booth servers are apache httpd v2.
On the proxy I have:
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /repo/ http : //share.local/repo/
ProxyPassReverse /repo/ ht...
I really like Perl's HTTP::Recorder. Is there something like it for Python?
...
I have files often uploaded via browser and maybe considering using another method to make uploads faster.
When a file is uploaded via browser, is there much overhead due to encoding?
Do you know how much?
Thanks!
...