1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-27 09:18:09 +00:00
gns3-server/docs/api/examples/compute_post_projectsprojectidiounodesnodeidduplicate.txt
2019-10-23 22:00:00 +08:00

18 lines
654 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b510b702-da36-4cd8-87c0-4d3de941925f/duplicate' -d '{"destination_node_id": "c078ca15-c88a-4798-8c3d-cc42a12195d7"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b510b702-da36-4cd8-87c0-4d3de941925f/duplicate HTTP/1.1
{
"destination_node_id": "c078ca15-c88a-4798-8c3d-cc42a12195d7"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Wed, 23 Oct 2019 13:41:29 GMT
Server: Python/3.6 GNS3/2.2.1dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
true