proxima-centauri/create.sh

13 lines
553 B
Bash
Raw Normal View History

2023-03-14 15:19:34 +01:00
curl --header "Content-Type: application/json" \
--data '{"command": {
2023-03-22 14:54:28 +01:00
"Create": {
2023-03-14 15:19:34 +01:00
"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