rest

HAL

FreeNAS

curl -k -X POST -i -H "Content-type: application/json" -X 
POST https://freenas.home/api/v1.0/storage/volume/newpool/datasets -u root:

-d '
    {
        "username":"root",
        "password":"secret"
    }
    '

Agenda des maths

curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST \
-d '{"ref": 10001, "name": "Mon Organisme de Test 2"}' -u user1:secret1 \
 http://dev3.calendrier.emath.fr/api/organisms/
  • rest.txt
  • Dernière modification : 2017/08/25 09:56
  • de 127.0.0.1