diff --git a/routes/NextNet API/Backend/Create.bru b/routes/NextNet API/Backend/Create.bru index 502ccde..9095bc0 100644 --- a/routes/NextNet API/Backend/Create.bru +++ b/routes/NextNet API/Backend/Create.bru @@ -12,10 +12,10 @@ post { body:json { { - "token": "535c80825631c04b9add7a8682e06799d62ba57b5089b557f5bab2183fc9926b187b3b8d96da8ef16c67ec80f2917cf81bc21337f47728534f58ac9c4ed5f3fe", - "name": "PortCopier Route", - "description": "This is a test route for portcopier.", - "backend": "PortCopier", + "token": "914abf2223f84375eed884671bfaefd7755d378af496b345f322214e75b51ed4465f11e26c944914c9b4fcc35c53250325fbc6530853ddfed8f72976d6fc5", + "name": "SSH Route", + "description": "This is a test route for SSH connectivity", + "backend": "ssh", "connectionDetails": { "funny": true } diff --git a/routes/NextNet API/Forward/Create.bru b/routes/NextNet API/Forward/Create.bru index d5e1418..985fd9d 100644 --- a/routes/NextNet API/Forward/Create.bru +++ b/routes/NextNet API/Forward/Create.bru @@ -12,10 +12,10 @@ post { body:json { { - "token": "535c80825631c04b9add7a8682e06799d62ba57b5089b557f5bab2183fc9926b187b3b8d96da8ef16c67ec80f2917cf81bc21337f47728534f58ac9c4ed5f3fe", + "token": "914abf2223f84375eed884671bfaefd7755d378af496b345f322214e75b51ed4465f11e26c944914c9b4fcc35c53250325fbc6530853ddfed8f72976d6fc5", "name": "Test Route", - "description": "This is a test route for portcopier.", - + "description": "This is a test route for SSH", + "protocol": "tcp", "sourceIP": "127.0.0.1", diff --git a/routes/NextNet API/Forward/Get Inbound Connections.bru b/routes/NextNet API/Forward/Get Inbound Connections.bru index 7111803..b61a7c4 100644 --- a/routes/NextNet API/Forward/Get Inbound Connections.bru +++ b/routes/NextNet API/Forward/Get Inbound Connections.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://127.0.0.1:3000/api/v1/forward/start + url: http://127.0.0.1:3000/api/v1/forward/connections body: json auth: none } diff --git a/routes/NextNet API/Forward/Start.bru b/routes/NextNet API/Forward/Start.bru index ca66779..65accf8 100644 --- a/routes/NextNet API/Forward/Start.bru +++ b/routes/NextNet API/Forward/Start.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://127.0.0.1:3000/api/v1/forward/create + url: http://127.0.0.1:3000/api/v1/forward/start body: json auth: none } @@ -13,16 +13,6 @@ post { body:json { { "token": "914abf2223f84375eed884671bfaefd7755d378af496b345f322214e75b51ed4465f11e26c944914c9b4fcc35c53250325fbc6530853ddfed8f72976d6fc5", - "name": "Test Route", - "description": "This is a test route for SSH", - - "protocol": "tcp", - - "sourceIP": "127.0.0.1", - "sourcePort": "8000", - - "destinationPort": "9000", - - "providerID": "1" + "id": "1" } } diff --git a/routes/NextNet API/Forward/Stop.bru b/routes/NextNet API/Forward/Stop.bru index 1621763..896fc71 100644 --- a/routes/NextNet API/Forward/Stop.bru +++ b/routes/NextNet API/Forward/Stop.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://127.0.0.1:3000/api/v1/forward/start + url: http://127.0.0.1:3000/api/v1/forward/stop body: json auth: none }