vpgen/bruno/opnsense-api/Get Peers.bru

32 lines
365 B
Plaintext

meta {
name: Get Peers
type: http
seq: 1
}
post {
url: {{base}}/api/wireguard/service/show
body: json
auth: inherit
}
headers {
Content-Type: application/json
}
body:json {
{
"current": 1,
"rowCount": 7,
"sort": {},
"searchPhrase": "{{searchPhrase}}",
"type": [
"peer"
]
}
}
vars:pre-request {
searchPhrase:
}