my heads round it all day..
I'm building a project but I'm presently the backend of the app will run using a dummy data first. Now I've created some API routes and hit them from postman. Example is POST /business/ = this is to register a new business, PUT /business/<businessId> = this is to update a new business. But my question is how do I do this API that is base on filter to get all business under a specific location using this api GET /business?location=<location>
That last part doesn't look RESTful
Обсуждают сегодня