I can use http post to post mapping definition to Wiremock
http://localhost:8080/__admin/mappings
I tried to post stub body json file to
http://localhost:8080/__admin/__files
Does not work. Is there any way to post stub files via Wiremock http server, to "__files" folder ?
It looks like you are using the wrong path to access the files admin API. You should be using the following method and path:
PUT /__admin/files/{fileId}
The {fileId}
is the name of the file.
More information on the admin API can be found here:
https://wiremock.org/docs/standalone/admin-api-reference/#tag/Files