add opnsense-api requests to bruno
This commit is contained in:
30
bruno/opnsense-api/Search Client.bru
Normal file
30
bruno/opnsense-api/Search Client.bru
Normal file
@@ -0,0 +1,30 @@
|
||||
meta {
|
||||
name: Search Client
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base}}/api/wireguard/client/searchClient
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"current": 1,
|
||||
"rowCount": 7,
|
||||
"sort": {},
|
||||
"servers": ["{{serverUuid}}"],
|
||||
"searchPhrase": "{{searchPhrase}}"
|
||||
}
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
searchPhrase:
|
||||
serverUuid: 64e1d6ec-980a-463d-8583-c863d8e9852b
|
||||
}
|
||||
Reference in New Issue
Block a user