gns3-server/docs/api/examples/controller_post_version.txt
2016-04-18 16:49:36 +02:00

20 lines
358 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/version' -d '{"version": "2.0.0dev1"}'
POST /v2/version HTTP/1.1
{
"version": "2.0.0dev1"
}
HTTP/1.1 200
ACCESS-CONTROL-ALLOW-ORIGIN: *
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/version
{
"version": "2.0.0dev1"
}