1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-18 06:18:08 +00:00
gns3-server/docs/api/examples/controller_post_settings.txt
2018-06-07 10:26:06 +02:00

21 lines
383 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/settings' -d '{"test": true}'
POST /v2/settings HTTP/1.1
{
"test": true
}
HTTP/1.1 201
Connection: close
Content-Length: 85
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:14:08 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/settings
{
"modification_uuid": "b3ac5dbb-d2fc-44d7-90bd-3984a63d608f",
"test": true
}