Karim Elhelawy03/14/2023, 2:34 PM
Rob Elliot03/15/2023, 9:30 AM
Or in docker:
java -jar wiremock-standalone-2.35.0.jar --enable-browser-proxying
Stubs can of course be created using the JSON API as usual, using header matching. Then it's a matter of configuring
docker run -it --rm \ -p 8080:8080 \ wiremock/wiremock:2.35.0 \ --enable-browser-proxying
as the proxy for whatever client you are using. There are docs here on browser (or "forward") proxying: https://wiremock.org/docs/proxying/ - search for "Running as a browser proxy".
Karim Elhelawy03/15/2023, 10:33 AM
Then it’s a matter of configuringI see, and the example mentioned with Java, and if I am using any other language I need to search how to configure it to point toas the proxy for whatever client you are using.
as a proxy, right?
Rob Elliot03/15/2023, 10:33 AM
curl -x <http://localhost:8080>