Spring boot API

REST has quickly become the de-facto standard for building web services on the web because they’re easy to build and easy to consume.

There’s a much larger discussion to be had about how REST fits in the world of microservices, but — for this tutorial — let’s just look at building RESTful services.

Why REST? REST embraces the precepts of the web, including its architecture, benefits, and everything else. This is no surprise given its author, Roy Fielding, was involved in probably a dozen specs which govern how the web operates.

What benefits? The web and its core protocol, HTTP, provide a stack of features:

  • Suitable actions (GETPOSTPUTDELETE, …​)
  • Caching
  • Redirection and forwarding
  • Security (encryption and authentication)

These are all critical factors on building resilient services. But that is not all. The web is built out of lots of tiny specs, hence it’s been able to evolve easily, without getting bogged down in “standards wars”.

Developers are able to draw upon 3rd party toolkits that implement these diverse specs and instantly have both client and server technology at their fingertips.

Share the Post:

Related Posts

SQL for Kids

SQL is one such skill that is in high demand, even among kids! As the world becomes increasingly data-driven, understanding how databases work is more important than ever.

Read More

Javascript Basics

JavaScript — Dynamic client-side scripting.JavaScript is a programming language that allows you to implement complex functionalities on web pages.

Read More