1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-18 22:38:07 +00:00
gns3-server/docs/api/examples/compute_post_version.txt
Julien Duponchelle e80dd40121
Update docs
2016-06-06 14:24:13 +02:00

19 lines
351 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/compute/version' -d '{"version": "2.0.0dev1"}'
POST /v2/compute/version HTTP/1.1
{
"version": "2.0.0dev1"
}
HTTP/1.1 200
CONTENT-LENGTH: 30
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/version
{
"version": "2.0.0dev1"
}