v1
latestOpenAPI 3.0.02026-07-14330119.9 KBNear Misses
Find near misses matching request pattern
Find at most 3 near misses for closest logged requests to the specified request pattern
post/__admin/near-misses/request-pattern
Request body
Example request
{
"bodyPatterns": [
{
"equalToJson": "{ \"numbers\": [1, 2, 3] }"
}
],
"headers": {
"Content-Type": {
"equalTo": "application/json"
}
},
"method": "POST",
"url": "/some/thing"
}Response
Near misses matching criteria
Example response
{
"nearMisses": [
{
"absoluteUrl": "http://localhost:56738/received-request/2",
"body": "Hello world",
"cookies": {},
"headers": {
"Connection": "keep-alive",
"Host": "localhost:56738",
"User-Agent": "Apache-HttpClient/4.5.1 (Java/1.7.0_51)"
},
"method": "GET",
"url": "/received-request/2"
}
]
}