davix-http man page

davix-http — HTTP query tool based on libdavix


davix-http [options]... url


davix-http is a tool using libdavix for HTTP query executions
It can be used to interact with a RESTful webservices.

See libdavix(3) for details.


Request Options:


Content of the request

--request, -X

Request method to use (ex : GET, PUT, PROPFIND, etc..)

Common Options:


Debug mode

--header, -H

Add a header field to the request (eg: -H "Depth: 1" )

--help, -h

Display this help message

--metalink OPT

Metalink support. (OPT=failover[default]|no)

--module, -P PLUGIN_NAME

Load a plugin or profile by name

--redirection OPT

Transparent redirection support. (OPT=yes[default]|no)

--proxy, -x URL

SOCKS5 proxy server URL. (ex: socks5://login:pass@socks.example.org)


Traces specific scope(s), options include:

file - Davix file interface

posix - Davix POSIX interface

xml - XML parser output

ssl - SSL and certs details

header - HTTP queries headers

body - HTTP bodies

chain - IO chains info

core - Config and misc info

grid - Misc info from 3rd parties

socket - Socket info

locks - WebDAV locking info

all - Traces everything


Display version

Security Options:

--capath CA_path

Add an additional certificate authority directory

--cert, -E cred_path

Client Certificate in PEM format

--key priv_path

Private key in PEM format

--insecure, -k

Disable SSL credential checks


User login for login/password authentication


User password for login/password authentication


AWS S3 authentication: secret key


AWS S3 authentication: access key


AWS S3 authentication: region


AWS S3 security token - used along with STS temporary credentials


Specify this flag if you need to use a path-based S3 URL


Azure authentication key


Execute a GET Query in HTTP
davix-http http://example.org/

Execute a HEAD Query in HTTP + TLS with User auth
davix-http -X HEAD https://login:password@example.org

Execute a PUT Query with S3 over https and a basic content
davix-http -X PUT s3s://bucket.example.org/mifile -d "Hello World"

See Also



Adrien Devresse <adrien.devresse@cern.ch>, IT-SDC-ID, CERN


$Date: 2014/05/24 $ davix HTTP Request tool