Update README.md
parent
ca60dc6686
commit
bff106c1fa
|
@ -7,22 +7,26 @@ Initialize
|
||||||
----------
|
----------
|
||||||
|
|
||||||
In order to create a new OVH API application, run :
|
In order to create a new OVH API application, run :
|
||||||
|
```
|
||||||
./ovhApiBashClient.sh --initApp
|
./ovhApiBashClient.sh --initApp
|
||||||
|
```
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
To make a basic call on GET /me just run :
|
To make a basic call on GET /me just run :
|
||||||
|
```
|
||||||
./ovhApiBashClient.sh
|
./ovhApiBashClient.sh
|
||||||
|
```
|
||||||
|
|
||||||
Options
|
Options
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Possible arguments are:
|
Possible arguments are:
|
||||||
|
```
|
||||||
--url <url> : the API URL to call, for example /domains (default is /me)
|
--url <url> : the API URL to call, for example /domains (default is /me)
|
||||||
--method <method> : the HTTP method to use, for example POST (default is GET)
|
--method <method> : the HTTP method to use, for example POST (default is GET)
|
||||||
--data <JSON data> : the data body to send with the request
|
--data <JSON data> : the data body to send with the request
|
||||||
--init : to initialize the consumer key
|
--init : to initialize the consumer key
|
||||||
--initApp : to initialize the API application
|
--initApp : to initialize the API application
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue