0👍
in vercel.json, routes dest is mapped to api/index.php.
So url api/ will mapped through index.php ? try with just /add url
0👍
Use double api prefix
https://<yourapp>.vercel.app/api/api
Above end point will point to
routes/api.php with prefix('api')
Source:stackexchange.com