ethanheyrman / restaurant-roulette

0 stars 1 forks source link

Create basic restaurant API #21

Closed BijanT closed 4 years ago

BijanT commented 4 years ago

I added code that allows someone to request a restaurant's information at the url {base_url}/restaurant/restaurants/{id}/

Another commit allows someone to add a restaurant by sending a POST request with a JSON string with the information of the restaurant to {base_url}/restaurant/add/