put

http PUT a file to S3 presigned URLs using ruby

Anyone got a working example of using ruby to post to a presigned URL on s3 ...

Is there any way to do HTTP PUT in python

I need to upload some data to a server using HTTP PUT in python. From my brief reading of the urllib2 docs, it only does HTTP POST. Is there any way to do an HTTP PUT in python? ...

How can I disable HTTP Methods for Tomcat 5.5.27

Please let me know how can I disable HTTP MEthods like OPTIONS, PUT, DELETE for the web server Apache Coyote HTTP 1.1 Connector (Tomcat 5.5.27) ...

Should a RESTful 'PUT' operation return something....

I was wondering what peoples opinions are of a RESTful 'PUT' operation that returns nothing(null) in the response body? ...

How do you do an HTTP Put?

I feel like an idiot asking this. In fact, after typing the title, StackOverflow barks at me, "That's not a very good title. Can you add some more unique words to it?" No I can't, SO; sorry. Here we go: We have this software that has a webservices component. Now, the administrator of this system has come to me, wanting to import data i...

.NET Sharepoint Create Directory

I can upload a file to sharepoint with the webclient as follows using (System.Net.WebClient webclient = new System.Net.WebClient()) { System.Net.NetworkCredential credentials = new System.Net.NetworkCredential( Encryptor.Decrypt(ConfigurationManager.AppSettings["username"]), Encryptor.Decrypt(ConfigurationManager.AppSettings[...

RAW POST using Curl in PHP

How can I do a RAW POST in PHP using curl. Raw post as in without any encoding, and my data is stored in a string. The data should be formatted like this ... usual HTTP header ... Content-Length: 1039 Content-Type: text/plain 89c5fdataasdhf kajshfd akjshfksa hfdkjsa falkjshfsa ajshd fkjsahfd lkjsahflksahfdlkashfhsadkjfsalhfd ajshdfhsa...

Sending binary data with the Restlet client

I'm trying to send a byte[] (using PUT) with Restlet but I can't find any info on how to do it. My code looks like this: Request request = new Request(Method.PUT, url); request.setEntity( WHAT DO I PUT HERE?, MediaType.APPLICATION_OCTET_STREAM); I had expected to find something along the lines of ByteArrayRepresentation, just like the...

Alternative bodies for HTTP PUT

Dear list, I'm developing a REST-ful webservice, and I have a question about the HTTP PUT method. I want to allow people to submit content using a application/form-data request body. However, the default response will be in application/xml. Is this acceptable? Evert ...

using HTTP PUT, but not fully replace the entity

Hi guys, I'm developing a REST api, and I'm wondering the following: I want to use HTTP PUT to update some entities in the webservice. The format will be a urlencoded body. Is it acceptable to only update the fields that were actually specified, rather than the entire entity? I'm asking, because PUT would be a very convenient method t...

How to send PUT, DELETE HTTP request in HttpURLConnection ? Looks like not working.

I want to know if it is possible to send PUT, DELETE request (practically) through java.net.HttpURLConnection to HTTP-based URL. I have read so many articles describing that how to send GET, POST, TRACE, OPTIONS request but still not finding any sample code which successfully perform PUT and DELETE request. Can any one give idea regardin...

Recursively PUT files to a remote server using FTP

I'm currently in a situation where I have very limited access to a server, but need to upload and download a significant amount of files contained within a single directory structure. I don't have SSH access, so I can't use SCP - and rsync isn't an option either unfortunately. I'm currently using ncftpput, which is great but seems to b...

PUT/POST not working in self-hosted WCF REST configuration

Greetings! I have a self-hosted server (Windows service) that is supporting both SOAP/RPC (this may go away in the future) and REST. The RESTful GETs are working as expected, but PUT/POST are giving a 405 error (Method Not Supported). I'm pretty sure this is a configuration issue with my app.config, but I'm pretty new to this and am not...

How to implement recursive put in sftp

Command-line sftp in my Ubuntu doesn't have recursive put implemented. I found some debate from 2004 about implementing such feature with -R option switch. So I see some sort of self-made recursion as only option. Ie. iterate through directory listing cd into directories mkdir them if nonexistent put files I'm planning on doing this...

Iphone Web put and get.

All, I need to create an app for work that signs into our website using SSL and returns our member information. I have figured out how to log in but am not sure how to find the id tags that I want to bring into my app and store to be show in a table view. I know how to do these three things. Put in username and password, authentica...

X-HTTP-Method-Override in jQuery?

How can I do an X-HTTP-Method-Override for an ajax request in jQuery? ...

HTTP POST vs HTTP PUT

Hi all, Does HTTP PUT have advantages over HTTP POST, particularly for File Uploads? Data transfer should be highly secure.. Your ideas / guidance on this will be of great help. regards, Kingsley Reuben ...

Sending a file from my application (Indy/Delphi) to an ASP page and then onto another server (Amazon S3)

I have a need to store files on Amazon AWS S3, but in order to isolate the user from the AWS authentication I want to go via an ASP page on my site, which the user will be logged into. So: The application sends the file using the Delphi Indy library TidHTTP.Put (FileStream) routine to the ASP page, along with some authentication stuff ...

rewrite URL for PUT request

Hi, I changed the way my URL are working on my server. It is now www.myserver.com/service instead of www.myserver.com/test/service I have added a RedirectMatch 301 to my Apache conf file to redirect any access to www.myserver.com/test to www.myserver.com/. I am receiving file to this server via an HTTP PUT at this URL for example : ww...

PUT Variables Missing between Python and Tomcat

I'm trying to get a PUT request from Python into a servlet in Tomcat. The parameters are missing when I get into Tomcat. The same code is happily working for POST requests, but not for PUT. Here's the client: lConnection = httplib.HTTPConnection('localhost:8080') lHeaders = {"Content-type": "application/x-www-form-urlencoded", ...