29 lines
583 B
Text
29 lines
583 B
Text
meta {
|
|
name: Create
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: http://127.0.0.1:8000/api/v1/forward/create
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiMSJdLCJleHAiOjE3MzUwNzY0MTEsIm5iZiI6MTczNDk5MDAxMSwiaWF0IjoxNzM0OTkwMDExfQ.N9TLraX4peHt7FKv8tPcHuEzL0K7T2IBEw3piQS_4OY",
|
|
"name": "Test Route",
|
|
"description": "This is a test route for SSH",
|
|
|
|
"protocol": "tcp",
|
|
|
|
"sourceIP": "127.0.0.1",
|
|
"sourcePort": 8000,
|
|
|
|
"destinationPort": 9000,
|
|
|
|
"providerID": 2,
|
|
"autoStart": true
|
|
}
|
|
}
|