mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-21 13:47:50 +00:00
26 lines
788 B
Plaintext
26 lines
788 B
Plaintext
curl -i -X POST 'http://localhost:3080/v2/projects/9bb44dd7-42f7-4dea-81c1-3082230e19ee/links/da01924d-3b1a-4e0a-b13f-a2ed9e091fbd/start_capture' -d '{}'
|
|
|
|
POST /v2/projects/9bb44dd7-42f7-4dea-81c1-3082230e19ee/links/da01924d-3b1a-4e0a-b13f-a2ed9e091fbd/start_capture HTTP/1.1
|
|
{}
|
|
|
|
|
|
HTTP/1.1 201
|
|
Connection: close
|
|
Content-Length: 288
|
|
Content-Type: application/json
|
|
Date: Thu, 07 Jun 2018 08:13:55 GMT
|
|
Server: Python/3.6 GNS3/2.1.7dev1
|
|
X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture
|
|
|
|
{
|
|
"capture_file_name": null,
|
|
"capture_file_path": null,
|
|
"capturing": false,
|
|
"filters": {},
|
|
"link_id": "da01924d-3b1a-4e0a-b13f-a2ed9e091fbd",
|
|
"link_type": "ethernet",
|
|
"nodes": [],
|
|
"project_id": "9bb44dd7-42f7-4dea-81c1-3082230e19ee",
|
|
"suspend": false
|
|
}
|