Sending HTTP Requests with Scala & Akka HTTP | Rock the JVM

Описание к видео Sending HTTP Requests with Scala & Akka HTTP | Rock the JVM

Written form to keep for later: https://blog.rockthejvm.com/a-5-minut...

This video is for the Scala programmer who needs to send HTTP requests quickly and without caring too much about the intricacies. I will use Akka HTTP to the minimum necessary to have you interact with REST APIs in a few minutes. I will demo the exact use-case of the Rock the JVM blog, where I use a REST-based code syntax highlighter for the nicely formatted code.

///////////////////////////////////////////////
// Libraries code for build.sbt:

val akkaVersion = "2.5.26"
val akkaHttpVersion = "10.1.11"

libraryDependencies ++= Seq(
// akka streams
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
// akka http
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
)
///////////////////////////////////////////////

Follow Rock the JVM on:

LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------

Комментарии

Информация по комментариям в разработке