Hello Folks,

As part of our API Testing series, we will see “Difference between REST and RESTFul API” in this post.

This is frequently asked interview question in interviews and I see people are confused with terms. We will learn about them in a very easy way.

You must go through with basics of REST here.

REST stands for REpresentational State Transfer. It is an architectural style that defines a set of constraints to be used for creating web services or API. REST defines six principles and if an API is developed by following principles/contracts of REST is called a RESTFul API or REST api.

REST API and RESTFul API are not two different terms. It is same. You may find documents saying if an API follows all six constraints of REST, is called as RESTFul API. But core concept says that any API build using REST principles, is called a REST API.

More about API Testing in upcoming posts. Stay tuned.

If you have any doubt, feel free to comment below.
If you like my posts, please like, comment, share and subscribe.



Author: Amod Mahajan

My name is Amod Mahajan and I am an IT employee with 6+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went through so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning

2 thoughts on “API Testing Tutorial Part 9 – Difference Between REST and RESTFul API

  1. if an API follows all six constraints of REST, is called as RESTFul API <– so that means one whcih follows all 5 mandatory or/and 1 optional principle ?

    "any API build using REST protocols, is called a REST API."
    Is rest a protocol ? What does the above statement exactly mean

    1. “principles/Constraints” should be correct word for Rest. However I understand that all words are more and less same. SOAP explicitly says its a protocol while REST has implicitly ways to say it.

Leave a Reply