Author Archives for vadion

Automated Testing Of A RESTful API

May 17, 2015 2:50 am Published by Leave your thoughts

This blog will cover how to automate the testing of REST API. Automating the process of testing will ensure that you deliver a robust API. Any changes to the implementation is ensured, not to break any previous API behavior. In the last blog, we built a REST API using Yii... View Article

How To Make CORS-Friendly API

May 8, 2015 2:56 am Published by Leave your thoughts

In this blog we will explore how to use API keys to enable Cross-Origin Resource Sharing (CORS). API Keys are unique string (usually random number). An API key identifies a particular client that consumes the API. A client can be a web-based application or a native client. An API key... View Article

How To Use RBAC To Control API Access

May 7, 2015 2:57 am Published by Leave your thoughts

In this article, we will look into Role-based Access Control (RBAC) and see how we can use it fine-tune the access of REST API. This articles builds on the previous series of articles, in which the latest one is available here. Role-based Access Control is a mechanism which allows a... View Article

How to build a RESTful API using Yii-1.x

May 6, 2015 2:48 am Published by Leave your thoughts

REST API is one of the most popular API standard. This article assumes that you already know what REST standard is. If you don’t, please go though this Wikipedia link. As an example, we would create a service that will provide information of TV series, seasons and episodes. Following API... View Article