Update README.md

pull/3/head
Antoine Leveugle 2014-04-17 21:28:03 +02:00
parent bff106c1fa
commit 928178c732
1 changed files with 13 additions and 2 deletions

View File

@ -6,7 +6,7 @@ A bash client for OVH API (https://api.ovh.com/)
Initialize
----------
In order to create a new OVH API application, run :
In order to create a new OVH API application, run:
```
./ovhApiBashClient.sh --initApp
```
@ -14,11 +14,22 @@ In order to create a new OVH API application, run :
Usage
-----
To make a basic call on GET /me just run :
To make a basic call on GET /me just run:
```
./ovhApiBashClient.sh
```
To retrieve your domain list, run:
```
./ovhApiBashClient.sh --url "/domain"
```
To activate the monitoring on your dedicated server, run:
```
./ovhApiBashClient.sh --method PUT --url "/dedicated/server/ns00000.ovh.net" --data '{"monitoring": true}'
```
Options
-------