You can set up a proxy stub to an HTTPS target then call it over HTTP, although this is reverse proxying rather than forward as you’d be hitting the WireMock hostname as the endpoint from your client.
j
Jackie chen
11/27/2023, 1:05 PM
@Tom but proxyVia can be only http for the corporate proxy to connect to the external, while i need it as https. I have tested it but it didn’t work.
t
Tom
11/27/2023, 3:04 PM
I’m not sure what you mean - proxyVia should work for HTTP or HTTPS targets. Can you share the details of the issue you’re seeing?