-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add the ability to edit a stub in an existing imposter #9
Comments
@4385708alex91 please use the last tag https://github.com/demyan112rv/mountebank-api-php/releases/tag/1.9.0 I have no way to test this code now. If you find any problem, feel free to let me know. |
@demyan112rv Unfortunately there is a bug in the getStubsUrl method; you need to use the imposter port instead of the Mountebank port. |
@4385708alex91 thanks for test. Fixed. I made the stub methods more flexible with the ability to pass a port. |
I checked, everything works fine. Many thanks for the help |
https://www.mbtest.org/docs/api/overview#add-stub
POST /imposters/:port/stubs
https://www.mbtest.org/docs/api/overview#change-stub
PUT /imposters/:port/stubs/:stubIndex
https://www.mbtest.org/docs/api/overview#delete-stub
DELETE /imposters/:port/stubs/:stubIndex
The text was updated successfully, but these errors were encountered: