Tuesday 26 May 2020

Restrict access to a node.js API endpoint

I have a MERN stack web app and I'm attempting to restrict access to the API endpoints on the server. So only the frontend of my app can make these API requests. Is there a way of recognising whether an API request is coming from the frontend of my app, or from somebody running a curl command or another program like Postman creating the request?​Thanks in advance

Submitted May 26, 2020 at 10:24AM by eod97

No comments:

Post a Comment