From the course: Programming Foundations: APIs and Web Services

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Benefits of REST

Benefits of REST

From the course: Programming Foundations: APIs and Web Services

Start my 1-month free trial

Benefits of REST

- There are several benefits of using REST. RESTful APIs are easier to create and easier for clients to consume. They're frequently used for web integration and mobile device applications. However, SOAP based web services aren't as ideal for mobile application communication because they send a lot of additional information back and forth that the client might not care about. This goes back to our skinny versus fat German shepard example. The fat German shepard is carrying around a lot of additional baggage. RESTful APIs are like the fast and nimble German shepard. There is a term that developers use to identify the data sent back and forth between the client and the server. That term is called the payload. RESTful APIs promote loose coupling. Now this simply means that the system should be designed so that changes and enhancements to web services don't break clients that are already using them. That way if you need to…

Contents