Sir, in the api.js file when we are redirecting to ‘/api’, shouldn’t we do ‘/api/persons/’. How is it working?
Doubt in redirect function
It has been redirected to /api/persons only
Check again
Sir, in the api.js file when we are redirecting to ‘/api’, shouldn’t we do ‘/api/persons/’. How is it working?
It has been redirected to /api/persons only
Check again