September 2021
Beginner
560 pages
10h 49m
English
After reading this lesson, you will be able to
GET requestsAfter learning about partial functions, you’ll use them as part of your implementation of an HTTP server. Building an HTTP server without the help of an external library would require lots of extra time and code. Thankfully, the Scala ecosystem offers a few external libraries to help you handle HTTP communication in an efficient and performant way. In this lesson, you’ll learn about http4s, a popular library to manage HTTP requests and responses. You’ll discover how to implement an HTTP server that replies to a GET /ping request with a response with status code 200 – Ok and the text "pong". Finally, you’ll ...
Read now
Unlock full access