feature: Adds code to get permissions.
This commit is contained in:
parent
b7b7f80308
commit
37886c769d
5 changed files with 88 additions and 5 deletions
26
routes/NextNet API/Get Permissions.bru
Normal file
26
routes/NextNet API/Get Permissions.bru
Normal file
|
@ -0,0 +1,26 @@
|
|||
meta {
|
||||
name: Get Permissions
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://127.0.0.1:3000/api/v1/forward/create
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"token": "5e2cb92a338a832d385790861312eb85d69f46f82317bfa984ac5e3517368ab5a827897b0f9775a9181b02fa3b9cffed7e59e5b3111d5bdc37f729156caf5f",
|
||||
"name": "Test Route",
|
||||
"description": "This is a test route for portcopier.",
|
||||
|
||||
"sourceIP": "127.0.0.1",
|
||||
"sourcePort": "8000",
|
||||
|
||||
"destinationPort": "9000",
|
||||
|
||||
"providerID": "1"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue