Open gitasong opened 6 years ago
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.
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!