Slackbot
06/20/2023, 9:34 AMTom
06/20/2023, 9:56 AMWireMock wm = WireMock.create()
.scheme("https")
.host("my-mock-api.wiremockapi.cloud")
.port(443)
.authenticator(new ClientTokenAuthenticator("<API token>"))
.build();
wm.loadMappingsFrom("/path/to/folder"); // Should be the parent folder of "mappings"
TheUsharik
06/20/2023, 10:36 AMOleg Nenashev
06/20/2023, 10:48 AMTheUsharik
06/20/2023, 11:12 AMTom
06/20/2023, 11:56 AMGET http://<docker host>:<docker port>/__admin/mappings
then posting this to the WireMock Cloud import API endpoint, which is /__admin/mocklab/imports