j query used — compressed version , non slim
HOW TO DEAL WITH THIS ERROR!
@mihirkhurana.mk as you can see, the error states that the cross origin request are only supported for some limited protocol schemes, what you are doing is trying to access the server using the local file in the browser, try doing the same after hosting the page on your server, or set the middleware to allow cross origin requests to a particular route, or to the whole api
@mihirkhurana.mk just run the server, and then access the url again http://localhost:4444/api/products and share the error here.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.