mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-18 01:34:50 +02:00
23 lines
616 B
Plaintext
23 lines
616 B
Plaintext
curl -i -X PUT 'http://localhost:3080/v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c' -d '{"x": 42}'
|
|
|
|
PUT /v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c HTTP/1.1
|
|
{
|
|
"x": 42
|
|
}
|
|
|
|
|
|
HTTP/1.1 201
|
|
CONTENT-LENGTH: 154
|
|
CONTENT-TYPE: application/json
|
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
|
SERVER: Python/3.5 GNS3/2.0.0dev1
|
|
X-ROUTE: /v2/projects/{project_id}/shapes/{shape_id}
|
|
|
|
{
|
|
"project_id": "43e74bf9-fc2f-4229-b2e8-b0868848579f",
|
|
"shape_id": "9f09cf79-5d99-4b0e-9994-c0a12982259c",
|
|
"x": 42,
|
|
"y": 20,
|
|
"z": 0
|
|
}
|