Wiremock mapping with "regex" type of selection?
I am trying to implement Wiremock proxy, so that it forwards requests by POST request body json values.
{
"requst": {
"method": "POST",
"bodyPatters": [
{
"matchesJsonPath": "$.[?($.someId == 'abcd-321')]"
"matchesJsonPath": "$.[?($.someId == 'efgh-321')]"
}
]
},
"response": {
"proxyBaseUrl": "http
wiremock one8080"
}}
How to implement this so that Wiremock request mapping just checks that if...