gns3-server/docs/api/examples/post_project.txt

21 lines
656 B
Plaintext
Raw Normal View History

curl -i -X POST 'http://localhost:8000/project' -d '{"location": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-330/test_create_project_with_dir0"}'
2015-01-19 15:23:41 +00:00
POST /project HTTP/1.1
{
"location": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-330/test_create_project_with_dir0"
2015-01-19 15:23:41 +00:00
}
HTTP/1.1 200
CONNECTION: close
CONTENT-LENGTH: 171
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.4 aiohttp/0.13.1
X-ROUTE: /project
{
"location": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-330/test_create_project_with_dir0",
"uuid": "e7d2911f-e367-46d9-b426-25663d0bb601"
2015-01-19 15:23:41 +00:00
}