Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix stub mapping http endpoint #248

Merged
merged 1 commit into from
Jan 30, 2024
Merged

fix stub mapping http endpoint #248

merged 1 commit into from
Jan 30, 2024

Conversation

siph
Copy link
Contributor

@siph siph commented Jan 12, 2024

This was seemingly changed at some point (based on wiremock/wiremock#253 (comment)) 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

  • The PR request is well described and justified, including the body and the references
  • The PR title represents the desired changelog entry
  • If the change against WireMock 2 functionality (incompatible with WireMock 3),
    it is submitted against the 2.x branch
  • The repository's code style is followed (see the contributing guide)

Details: Contributor Guide

@leeturner leeturner self-assigned this Jan 30, 2024
@leeturner
Copy link
Contributor

Great spot. Many thanks for your contribution

@leeturner leeturner merged commit b34ab3c into wiremock:main Jan 30, 2024
1 check passed
@siph siph deleted the endpoint branch January 30, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants