13 lines
553 B
Bash
Executable File
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
|