mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-30 20:28:08 +00:00
Fix documentation about /ports/udp
This commit is contained in:
parent
e3239b7e36
commit
d16a389d1f
@ -69,12 +69,12 @@ two UDP ports.
|
|||||||
|
|
||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# curl -X POST "http://localhost:8000/v1/ports/udp" -d '{}'
|
# curl -X POST "http://localhost:8000/v1/projects/42f9feee-3217-4104-981e-85d5f0a806ec/ports/udp" -d '{}'
|
||||||
{
|
{
|
||||||
"udp_port": 10000
|
"udp_port": 10000
|
||||||
}
|
}
|
||||||
|
|
||||||
# curl -X POST "http://localhost:8000/v1/ports/udp" -d '{}'
|
# curl -X POST "http://localhost:8000/v1/projects/42f9feee-3217-4104-981e-85d5f0a806ec/ports/udp" -d '{}'
|
||||||
{
|
{
|
||||||
"udp_port": 10001
|
"udp_port": 10001
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user