2023-03-14 15:19:34 +01:00
|
|
|
curl --header "Content-Type: application/json" \
|
2023-04-18 11:08:54 +02:00
|
|
|
--data '{
|
|
|
|
"create": {
|
|
|
|
"incoming_port": 5555,
|
|
|
|
"destination_port": 8080,
|
|
|
|
"destination_ip": "127.0.0.1",
|
|
|
|
"id": "67e55044-10b1-426f-9247-bb680e5fe0c8"
|
|
|
|
}
|
|
|
|
}' \
|
2023-03-14 15:19:34 +01:00
|
|
|
http://localhost:3000/command
|