Updated Admin API Reference (markdown)

Stef Heyenrath
2020-09-22 12:59:54 +02:00
parent 66db8d89b5
commit 8f930b6d56

@@ -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)
***