1DAVIX-HTTP(1)                  HTTP Request tool                 DAVIX-HTTP(1)
2
3
4

NAME

6       davix-http - HTTP query tool based on libdavix
7

SYNOPSIS

9                davix-http [options]... url
10
11
12

DESCRIPTION

14       davix-http is a tool using libdavix for HTTP query executions
15       It can be used to interact with a RESTful webservices.
16
17       See libdavix(3) for details.
18
19
20

OPTIONS

22       Request Options:
23
24         --data
25            Content of the request
26
27         --request, -X
28            Request method to use (ex : GET, PUT, PROPFIND, etc..)
29
30       Common Options:
31
32         --debug
33            Debug mode
34
35         --header, -H
36            Add a header field to the request (eg: -H "Depth: 1" )
37
38         --help, -h
39            Display this help message
40
41         --metalink OPT
42            Metalink support. (OPT=failover[default]|no)
43
44         --module, -P PLUGIN_NAME
45            Load a plugin or profile by name
46
47         --redirection OPT
48            Transparent redirection support. (OPT=yes[default]|no)
49
50         --proxy, -x URL
51            SOCKS5  proxy  server  URL.  (ex:  socks5://login:pass@socks.exam‐
52            ple.org)
53
54         --trace
55            Traces specific scope(s), options include:
56               file - Davix file interface
57               posix - Davix POSIX interface
58               xml - XML parser output
59               ssl - SSL and certs details
60               header - HTTP queries headers
61               body - HTTP bodies
62               chain - IO chains info
63               core - Config and misc info
64               grid - Misc info from 3rd parties
65               socket - Socket info
66               locks - WebDAV locking info
67               all - Traces everything
68
69         --version
70            Display version
71
72       Security Options:
73
74         --capath CA_path
75            Add an additional certificate authority directory
76
77         --cert, -E cred_path
78            Client Certificate in PEM format
79
80         --key priv_path
81            Private key in PEM format
82
83         --insecure, -k
84            Disable SSL credential checks
85
86         --userlogin
87            User login for login/password authentication
88
89         --userpass
90            User password for login/password authentication
91
92         --s3secretkey
93            AWS S3 authentication: secret key
94
95         --s3accesskey
96            AWS S3 authentication: access key
97
98         --s3region
99            AWS S3 authentication: region
100
101         --s3token
102            AWS S3 security token - used along with STS temporary credentials
103
104         --s3alternate
105            Specify this flag if you need to use a path-based S3 URL
106
107         --azurekey
108            Azure authentication key
109
110
111

EXAMPLES

113        Execute a GET Query in HTTP
114               davix-http http://example.org/
115
116        Execute a HEAD Query in HTTP + TLS with User auth
117               davix-http -X HEAD https://login:password@example.org
118
119        Execute a PUT Query with S3 over https and a basic content
120               davix-http -X  PUT  s3s://bucket.example.org/mifile  -d  "Hello
121       World"
122
123

SEE ALSO

125       libdavix(3),davix-ls(1),davix-get(1),davix-put(1),
126
127
129       http://dmc.web.cern.ch/projects/davix/home
130
131
132

AUTHORS

134       Adrien Devresse <adrien.devresse@cern.ch>, IT-SDC-ID, CERN
135
136
137
138davix                         $Date: 2014/05/24 $                DAVIX-HTTP(1)
Impressum