Always error 404 when accessing the API on localhost, but it works fine when tested on postman
I tried to display data from the API that I created, but it always gets a 404 error. Here is the code:
I tried to display data from the API that I created, but it always gets a 404 error. Here is the code: