This is a simple API to manage information about cafes.
---GET /random
Example: /random
GET /all
Example: /all
GET /search?loc=[location_name]
Replace [location_name]
with the actual location.
Example: /search?loc=London
POST /add
Requires form data (name, map_url, img_url, location, seats, has_toilet, has_wifi, has_sockets, can_take_calls, coffee_price).
You can use the form below to add a cafe, or make a POST request with tools like Postman/Insomnia.
Go to the Add Cafe Form