1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 19:28:07 +00:00
gns3-server/docs/api/examples/post_virtualbox.txt

33 lines
875 B
Plaintext
Raw Normal View History

2015-01-22 09:55:11 +00:00
curl -i -X POST 'http://localhost:8000/virtualbox' -d '{"linked_clone": false, "name": "VM1", "project_uuid": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "vmname": "VM1"}'
2015-01-20 22:40:03 +00:00
POST /virtualbox HTTP/1.1
{
2015-01-22 09:55:11 +00:00
"linked_clone": false,
2015-01-20 22:40:03 +00:00
"name": "VM1",
"project_uuid": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"vmname": "VM1"
}
2015-01-21 21:33:41 +00:00
HTTP/1.1 201
2015-01-27 14:06:55 +00:00
CONNECTION: keep-alive
2015-01-26 08:36:26 +00:00
CONTENT-LENGTH: 369
2015-01-20 22:40:03 +00:00
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2015-01-27 14:06:55 +00:00
SERVER: Python/3.4 GNS3/1.3.dev1
2015-01-20 22:40:03 +00:00
X-ROUTE: /virtualbox
{
2015-01-23 15:19:17 +00:00
"adapter_start_index": 0,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
2015-01-26 08:36:26 +00:00
"console": 2000,
2015-01-23 15:19:17 +00:00
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
2015-01-20 22:40:03 +00:00
"name": "VM1",
"project_uuid": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
2015-01-27 14:06:55 +00:00
"uuid": "8b5bbfa3-0682-4d65-ae8b-a1aea9dc40e5",
2015-01-23 15:19:17 +00:00
"vmname": "VM1"
2015-01-20 22:40:03 +00:00
}