Proxying requests to other systems
http://my-site.com/base
, a
request made to http://my-mock-api.wiremockapi.cloud/things/1
would result in a proxy request to http://my-site.com/base/things/1
.
https://my-mock-api.wiremockapi.cloud
to with a proxy target of https://api.github.com
and a proxied response body contained "self": "https://api.github.com/users/123"
, with hostname rewriting enabled this would be changed to "self": "https://my-mock-api.wiremockapi.cloud/users/123"
.