gns3-server/docs/api/examples/compute_post_projectsprojectidiounodesnodeidduplicate.txt
2018-06-07 10:26:06 +02:00

18 lines
654 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate' -d '{"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate HTTP/1.1
{
"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
true