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

adding /__admin/stop endpoint for httpserver #1581

Merged
merged 1 commit into from
May 1, 2021

Conversation

chaudharydeepak
Copy link
Contributor

#1571

Adding endpoint to shutdown the server.

@chaudharydeepak
Copy link
Contributor Author

@ptrthomas - let me know if this looks ok. I added the functionality to com.intuit.karate.http.HttpServer. also we are not checking for METHOD, we can enforce POST only. Http Response is 202 ACCEPTED vs 200. Thank you.

@ptrthomas ptrthomas merged commit 185ad73 into karatelabs:master May 1, 2021
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