Just a simple API with multiple easy-to-use endpoints.
API_BASE_URL = https://products-api-delta.vercel.app
Here is how to use this API. The following is an explanation to all the available endpoints. You can find the API's base url in the about section of the repository.
Send a get request to the following endpoint:
/api/products
example:
https://products-api-delta.vercel.app/api/products
Send a get request with query parameter named q
to the following endpoint:
/api/products/search
example:
https://products-api-delta.vercel.app/api/products/search?q=phone
Send a get request to the following endpoint:
/api/product/:id
example:
https://products-api-delta.vercel.app/api/product/1
Send a get request to the following endpoint:
/api/products/:ids
example:
https://products-api-delta.vercel.app/api/products/1,2,3