wiremock / wiremock.org

WireMock website, powered by Jekyll. Contributions are welcome!
https://wiremock.org/
MIT License
11 stars 49 forks source link

fix stub mapping http endpoint #248

Closed siph closed 7 months ago

siph commented 8 months ago

This was seemingly changed at some point (based on https://github.com/wiremock/wiremock/issues/253#issuecomment-84376794) and I'm guessing this got missed because it is corrected elsewhere in the documentation.

References

https://wiremock.org/docs/stubbing/#basic-stubbing:


You can configure stubs using JSON configuration files or code:

1. Via a `.json` file under the `mappings` directory
2. Via a POST request to
`http://<host>:<port>/__admin/mappings` with the JSON as a body
3. From code using one of the SDKs

Submitter checklist

Details: Contributor Guide

leeturner commented 7 months ago

Great spot. Many thanks for your contribution