API Testing Tutorial Part 9 – Difference Between REST and RESTFul API

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.
#ThanksForReading
#HappyApiTesting

 

 

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

Your email address will not be published. Required fields are marked *