mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-24 10:22:13 +01:00
Updated Admin API Reference (markdown)
@@ -57,6 +57,16 @@ Logged requests and responses received by the mock service.
|
||||
* `GET /__admin/requests/unmatched` --> TODO
|
||||
* `GET /__admin/requests/unmatched/near-misses` --> TODO
|
||||
|
||||
### `POST /__admin/requests/find`
|
||||
For example, this will return all requests that were performed to this specific path.
|
||||
``` cmd
|
||||
curl --location --request POST 'http://localhost:9999/__admin/requests/find' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"path": "/path/to/search/for"
|
||||
}
|
||||
```
|
||||
|
||||
***
|
||||
For some **example requests**, see this [PostMan Collection](https://www.getpostman.com/collections/b69dcea7ec19473bff1e)
|
||||
***
|
||||
|
||||
Reference in New Issue
Block a user