My previous article gives you an understanding of how to develop any application using RESTful APIs. But, mere implementation of API is not enough for making it more effective. It requires a proper authentication and more security. Here is the article for a secured RESTful API on a token basis. An encrypted token, which is generated based on your site id and ip address is sent with the request call; this token is then be used to authenticate to use a RESTful service in your application. Follow the demo below for your reference.
![Create Token Based RESTful services using Slim PHP Framework](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm4DkQGE5vDJOuhcTdIyt9y2l4b2NQ6iPh4jue5VNXjUSRSjU0GFzKWgjmDjpzp5IowvWtjAcc6mFZKylPDB0gZN24Mb9liOoELvAobpP_4JFyQGRIXiWkWgE9vLhyWL2zMkMgUAEh8Dsq/s650/restfultoken.png)
Read more »