Sunday, 9 July 2017

How to create an API secured by a secret token?

Before I make my site public, I want to make sure that no one other than me can make requests to the backend of the site. For example /api/getArticle needs to be locked. I know that by default anyone can go into Postman and make requests to my site, but I don't know how to make those routes 'private.'

Submitted July 10, 2017 at 02:09AM by alwayssans

No comments:

Post a Comment