For each framework in this book, we create a simple getting started service. So for Akka HTTP, we did the same thing. Before we look at the code, let's begin by starting the service and firing a request using Postman. To start the service, from the command line, run the
sbt runCH05-HelloAkka-DSL command:
$ sbt runCH05-HelloAkka-DSL [info] Loading project definition from /Users/jos/dev/git/rest-with-scala/project [info] Set current project to rest-with-scala (in build file:/Users/jos/dev/git/rest-with-scala/) [info] Running org.restwithscala.chapter5.gettingstarted.HelloDSL Press <enter> to exit.
Open up Postman, and from the Chapter 05 collection, run the
Hello Akka-DSL command. The server will respond with ...