Hello everyone! I am very new to WireMock and I ha...
# help
o
Hello everyone! I am very new to WireMock and I have an issue when hitting the endpoint /_admin/requests/reset, a GET returns 400 which makes sense , but a POST returns 404 error. The request journal is enabled and i get a correct response when running GET to /__admin/requests, what am I missing here? Is the endpoint unavailable? Because I've seen that it's deprecated_
l
Hi, have you taken a look at the admin API reference - https://wiremock.org/docs/standalone/admin-api-reference/ The
POST - /__admin/requests/reset
was deprecated. If you are trying to delete all the items in the request journal you will need to use
DELETE - /__admin/requests