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

Update README.md and make the example work #1046

Merged
merged 2 commits into from
Nov 22, 2019
Merged

Update README.md and make the example work #1046

merged 2 commits into from
Nov 22, 2019

Conversation

salmasian
Copy link
Contributor

Fixes #1042

The example in README.md is sufficient
Also expanding the example to demonstrate how the id parameter is used
Copy link

@omkartapale omkartapale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good. Now example is complete.
Just one or two small changes. Use self::HTTP_OK instead 200 response http code, and self::HTTP_NOT_FOUND instead 404 response http code.

@chriskacerguis chriskacerguis merged commit b471a60 into chriskacerguis:master Nov 22, 2019
@chriskacerguis
Copy link
Owner

Thanks for the help!

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.

README.md correction
3 participants