Загрузка страницы

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

Written form to keep for later: https://blog.rockthejvm.com/a-5-minute-akka-http-client/

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: https://linkedin.com/company/rockthejvm
Twitter: https://twitter.com/rockthejvm
Blog: https://rockthejvm.com/blog

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

Видео Sending HTTP Requests with Scala & Akka HTTP | Rock the JVM канала Rock the JVM
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
1 апреля 2020 г. 17:54:23
00:16:23
Яндекс.Метрика