Join Slack
Powered by
<Need to pass regex in proxyBaseUrl and proxyUrlPr...
# stackoverflow
r
rss
03/03/2024, 5:32 PM
Need to pass regex in proxyBaseUrl and proxyUrlPrefixToRemove for wiremock json request without create custom java code
Need help proxyUrlPrefixToRemove and proxyBaseUrl is not working for me when i use regular expression (.) . What should be the correct request body .If I want my proxy url to be
https://localhost:8081/
. (https url) . "request": { "method": "GET", "url": "/my/proxy/./remove" }, "response": { "proxyBaseUrl": "
https://localhost:8081/UUID=.
" "proxyUrlPrefixToRemove": "/my/proxy/.*/remove" } I tried response templating but it did not help
6
Views
Open in Slack
Previous
Next