proxima-centauri/create.sh
2023-03-22 14:54:28 +01:00

13 lines
553 B
Bash
Executable File

curl --header "Content-Type: application/json" \
--data '{"command": {
"Create": {
"incoming_port": 5555,
"destination_port": 8080,
"destination_ip": "127.0.0.1",
"id": "67e55044-10b1-426f-9247-bb680e5fe0c8"
}
},
"signature": [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
}' \
http://localhost:3000/command