Skip to content

Espresso Suggested Endpoints

Earl Fong edited this page Sep 6, 2020 · 13 revisions

This page will contain the endpoints (and HTTP verbs necessary) for Espresso.

/restaurant - GET - List all restaurants. Provide all fields.

/restaurant/{:id} - GET - List single restaurant.
/restaurant/{:id} - PUT - Update restaurant.
/restaurant/{:id} - DELETE - Delete current restaurant.

/restaurant/create - POST - Create new restaurant.

Clone this wiki locally