add opnsense-api requests to bruno
This commit is contained in:
28
bruno/opnsense-api/Search Server.bru
Normal file
28
bruno/opnsense-api/Search Server.bru
Normal file
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: Search Server
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base}}/api/wireguard/server/searchServer
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"current": 1,
|
||||
"rowCount": 7,
|
||||
"sort": {},
|
||||
"searchPhrase": "{{searchPhrase}}"
|
||||
}
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
searchPhrase:
|
||||
}
|
||||
Reference in New Issue
Block a user