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

Refactor to RESTful structure #6

Open
ed42311 opened this issue Feb 28, 2019 · 0 comments
Open

Refactor to RESTful structure #6

ed42311 opened this issue Feb 28, 2019 · 0 comments

Comments

@ed42311
Copy link
Contributor

ed42311 commented Feb 28, 2019

paths should follow the pattern:

GET - get all records /speeches no data attached
POST - create one record /speeches data attached to body for new record
PUT - update a record /speeches/:speech_id data for id is attached to params, update data is in body
DELETE - delete a record /speeches/:speech_id data for id is attached to params

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

No branches or pull requests

1 participant