.\" @(#)$RCSfile: davix-http.man,v $ $Revision: 1 $ $Date: 2014/05/24 $ CERN Adrien Devresse .\" Copyright (C) 2014 by CERN .\" All rights reserved .\" .TH DAVIX-HTTP 1 "$Date: 2014/05/24 $" davix "HTTP Request tool" .SH NAME davix-http \- HTTP query tool based on libdavix .SH SYNOPSIS .PP davix-http [options]... url .PP .SH DESCRIPTION \fBdavix-http\fR is a tool using libdavix for HTTP query executions .br It can be used to interact with a RESTful webservices. .br .PP See libdavix(3) for details. .br .SH OPTIONS .PP \fBRequest Options:\fR .PP .RS 2 \fB\--data\fR .RE .RS 5 Content of the request .RE .PP .RS 2 \fB\--request, -X\fR .RE .RS 5 Request method to use (ex : GET, PUT, PROPFIND, etc..) .RE .PP \fBCommon Options:\fR .PP .RS 2 \fB\--debug\fR .RE .RS 5 Debug mode .RE .PP .RS 2 \fB\--header, -H\fR .RE .RS 5 Add a header field to the request (eg: -H "Depth: 1" ) .RE .PP .RS 2 \fB\--help, -h\fR .RE .RS 5 Display this help message .RE .PP .RS 2 \fB\--metalink OPT \fR .RE .RS 5 Metalink support. (OPT=failover[default]|no) .RE .PP .RS 2 \fB\--module, -P PLUGIN_NAME\fR .RE .RS 5 Load a plugin or profile by name .RE .PP .RS 2 \fB\--redirection OPT \fR .RE .RS 5 Transparent redirection support. (OPT=yes[default]|no) .RE .PP .RS 2 \fB\--proxy, -x URL\fR .RE .RS 5 SOCKS5 proxy server URL. (ex: socks5://login:pass@socks.example.org) .RE .PP .RS 2 \fB\--trace\fR .RE .RS 5 Traces specific scope(s), options include: .RE .RS 8 file - Davix file interface .RE .RS 8 posix - Davix POSIX interface .RE .RS 8 xml - XML parser output .RE .RS 8 ssl - SSL and certs details .RE .RS 8 header - HTTP queries headers .RE .RS 8 body - HTTP bodies .RE .RS 8 chain - IO chains info .RE .RS 8 core - Config and misc info .RE .RS 8 grid - Misc info from 3rd parties .RE .RS 8 socket - Socket info .RE .RS 8 locks - WebDAV locking info .RE .RS 8 all - Traces everything .RE .PP .RS 2 \fB\--version\fR .RE .RS 5 Display version .RE .PP \fBSecurity Options:\fR .PP .RS 2 \fB\--capath CA_path\fR .RE .RS 5 Add an additional certificate authority directory .RE .PP .RS 2 \fB\--cert, -E cred_path\fR .RE .RS 5 Client Certificate in PEM format .RE .PP .RS 2 \fB\--key priv_path\fR .RE .RS 5 Private key in PEM format .RE .PP .RS 2 \fB\--insecure, -k\fR .RE .RS 5 Disable SSL credential checks .RE .PP .RS 2 \fB\--userlogin\fR .RE .RS 5 User login for login/password authentication .RE .PP .RS 2 \fB\--userpass\fR .RE .RS 5 User password for login/password authentication .RE .PP .RS 2 \fB\--s3secretkey\fR .RE .RS 5 AWS S3 authentication: secret key .RE .PP .RS 2 \fB\--s3accesskey\fR .RE .RS 5 AWS S3 authentication: access key .RE .PP .RS 2 \fB\--s3region\fR .RE .RS 5 AWS S3 authentication: region .RE .PP .RS 2 \fB\--s3token\fR .RE .RS 5 AWS S3 security token - used along with STS temporary credentials .RE .PP .RS 2 \fB\--s3alternate\fR .RE .RS 5 Specify this flag if you need to use a path-based S3 URL .RE .PP .RS 2 \fB\--azurekey\fR .RE .RS 5 Azure authentication key .RE .PP .SH EXAMPLES .PP \fB Execute a GET Query in HTTP .BR davix-http http://example.org/ .PP \fB Execute a HEAD Query in HTTP + TLS with User auth .BR davix-http -X HEAD https://login:password@example.org .BR .PP \fB Execute a PUT Query with S3 over https and a basic content .BR davix-http -X PUT s3s://bucket.example.org/mifile -d "Hello World" .BR .SH SEE ALSO .BR libdavix(3), davix-ls(1), davix-get(1), davix-put(1), .BR .SH LINKS .BR http://dmc.web.cern.ch/projects/davix/home .SH AUTHORS Adrien Devresse , IT-SDC-ID, CERN