Why shouldn't JSONP​ be used?

JSONP is could be considered to be a useful way to avoid CORS errors however it has more cons than pros - this article discusses the most important factors.

Securing a REST API

In this article we are discussing how to secure a REST API using JWT (JSON Web Tokens).