Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Any chance of a PUT endpoint for restaurants? #22

Open
gitasong opened this issue Oct 9, 2018 · 1 comment
Open

Any chance of a PUT endpoint for restaurants? #22

gitasong opened this issue Oct 9, 2018 · 1 comment

Comments

@gitasong
Copy link

gitasong commented Oct 9, 2018

I've just graduated from the MWS nanodegree and would like to extend the project further. Is there any chance of getting a PUT endpoint for restaurants (and maybe a POST endpoint as well, for new restaurants) so that we can update those? I've looked at the sails config and API files and don't see anything remotely resembling route configurations. Thanks!

@gitasong
Copy link
Author

gitasong commented Oct 9, 2018

Me and a member of my cohort have discovered that a PUT request to http://localhost:1337/restaurants/<restaurant_id> will work, but it sure would be nice to have a PUT endpoint for all restaurants, to be able to update them en masse (e.g. while offline), instead of having to do every restaurant via its id.

mejarc added a commit to mejarc/mws-restaurant-stage-3 that referenced this issue Oct 23, 2018
bug: Form elements do not have associated labels
mejarc added a commit to mejarc/mws-restaurant-stage-3 that referenced this issue Oct 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant