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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Akka HTTP & JSON: Integrating Spray, Circe and Jackson with Akka HTTP, with Scala | Rock the JVM](https://i.ytimg.com/vi/yU85EowqhY4/default.jpg)
![Introduction to the Actor Model for Concurrent Computation: Tech Talks @ AppNexus](https://i.ytimg.com/vi/lPTqcecwkJg/default.jpg)
![Fast Data apps with Alpakka Kafka connector and Akka Streams | Lightbend](https://i.ytimg.com/vi/yDP7IJkaQUg/default.jpg)
![Actor Model Explained](https://i.ytimg.com/vi/ELwEdb_pD0k/default.jpg)
![Monads are Monoids in the Category of Endofunctors - a Scala 3 Journey, No Psychobabble](https://i.ytimg.com/vi/CMm98RkCgPg/default.jpg)
![Oleg Ilyenko - Building GraphQL API with Sangria](https://i.ytimg.com/vi/ymILgZAdfnA/default.jpg)
![Building RESTful API in Akka HTTP with Scala](https://i.ytimg.com/vi/ZC7j9bGHhwY/default.jpg)
![Akka HTTP — The What, Why and How](https://i.ytimg.com/vi/y_slPbktLr0/default.jpg)
![Linear Collections in Scala: Seq, List, Array, Vector, Set, Range](https://i.ytimg.com/vi/UvUkpduo6uE/default.jpg)
![5 Nice Scala Tricks for Concise and Expressive Code | Rock the JVM](https://i.ytimg.com/vi/aX-Lc6NXhC8/default.jpg)
![How to Build a Bot for Coinbase Pro | New API V2](https://i.ytimg.com/vi/caBGyU2HufU/default.jpg)
![Akka Typed: How the Pipe Pattern Saves Us from Anti-Patterns | Rock the JVM](https://i.ytimg.com/vi/Mh-xFgSaQn0/default.jpg)
![Bootstrapping Microservices using Akka, Kafka ans Spark by Alex Silva](https://i.ytimg.com/vi/gF8v51i6Y1c/default.jpg)
![http4s: pure, typeful, functional HTTP in Scala – Ross Baker](https://i.ytimg.com/vi/urdtmx4h5LE/default.jpg)
![A Monads Approach for Beginners, in Scala | Rock the JVM](https://i.ytimg.com/vi/d-dy1x33moA/default.jpg)
![Introduction to Akka Actors with Java](https://i.ytimg.com/vi/rIFqJxMJ1MM/default.jpg)
![Akka and a Simple Actor Example (in Scala)](https://i.ytimg.com/vi/ZNaeMf7X6xU/default.jpg)
![Self-Types in Scala - the Why and the How | Rock the JVM](https://i.ytimg.com/vi/ZnpB4B1fMSI/default.jpg)
![Deploying Akka HTTP to Heroku in 17 minutes | Rock the JVM](https://i.ytimg.com/vi/NLXKMS7eUZE/default.jpg)
![How to Create Akka Streams of Any Shape Using the Graph DSL | Rock the JVM](https://i.ytimg.com/vi/8XLB28KDtgg/default.jpg)