It is possible to use different programming languages and frameworks to access RESTful web services and APIs but it requires at least some basic knowledge. From the other side, browsers and command-line tools are available everywhere.
- [Voiceover] Hi again.…In the previous video, we looked at the Spray cam module…and finally got our sample book catalog,…REST(ful) Web Services up and running.…In this video, we're going to take a look at how we can…invoke our sample book catalog web APIs…using command line tools, browsers, and browser plug-ins.…This is an exciting milestone for our journey…into Scala web development using Spray framework…because we're going to see what we have built so far…in action.…
We used to use browsers to surf.…The always expanding universe of the websites and portals.…However, browsers can also be used to access REST(ful)…web services and APIs which support http GET requests.…For example, let us navigate to our book application…catalog web API, which returns the list of the books.…The result does not look pretty, as by default,…every browser visualizes JSON data differently.…But still, we can see and read it there.…
Browsers are capable of doing much, much more…and this power is available to end users…through rich eco system of the plugins and add-ons.…
Embark on an exciting journey into the universe of web development using the Scala programming language and frameworks—natural choices for back-end developers building highly scalable, reliable, and reactive RESTful web services and APIs. This training is the starting point for mastering the nonblocking and asynchronous programming models that lie in the heart of the Spray framework. It starts with an introduction to the REST architecture. Then switch gears to the Akka toolkit and framework, building a sample book catalog application along the way.
Once you've learned about the REST architectural style and Actor model—the foundations that the Spray framework is built upon—you'll shape out your own RESTful web services by providing simple route definitions. Further on in the course, author Andriy Redko delves into authentication and authorization, secure transport, documentation, testing, and caching support. Finally, you will learn how to develop the Spray client API to call external web services.
- The Actor model and Akka framework
- RESTful architecture principles and constraints
- Building RESTful services
- Core Spray framework modules such as spray-can, spray-routing, spray-json, spray-caching, and spray-client
- Securing RESTful web services and APIs with Spray
- Configuring Spray applications with HTTPS support
- Documenting Spray RESTful web services using Swagger
- Caching basics
- Calling external RESTful services