incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marios@redhat.com" <mandr...@redhat.com>
Subject Re: Support for OPTIONS and HEAD calls in API
Date Mon, 07 Feb 2011 08:46:21 GMT
On 05/02/11 02:54, David Lutterkort wrote:
(btw, is there a command line tool that will generate
> OPTIONS requests ? I had to try this with telnet)

behold the awesomeness of curl; the -X flag allows you to set pretty 
much any 'method' you like:

"curl -X OPTIONS --user 'name:password' http://localhost:3001/api ..."

curl manpage online: http://curl.haxx.se/docs/manpage.html


marios

Mime
View raw message