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

preview_player
Показать описание

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.

///////////////////////////////////////////////

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

libraryDependencies ++= Seq(
// akka streams
// akka http
)
///////////////////////////////////////////////

Follow Rock the JVM on:

-------------------------------------------------------------------------
-------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Update: the website markup.su that I use in the video is down as of December 2020. You can still follow the tutorial with another REST API that you know is functional, perhaps one at your job or personal project. Enjoy!

rockthejvm
Автор

Awesome video man, thank you. It's fairly hard to find great scala videos.

liam
Автор

Hi Daniel

since you are making these videos why not make one project on mircroservice kind of using scala, akka, apache

arpitagarwal
Автор

but great job i have been watching your videos

arpitagarwal
Автор

please a video on playframework taking advantage on akka actors

ChristianValverde
Автор

hey! I've watched a couple of videos from this playlist but each time I get a strong feeling that these are some advanced Akka topics that without basic knowledge of Akka are just hanging in the void in my head. Did I miss the "basic introduction to Akka" video somehow or is it intentional and I should go through the dosc first? :),

bobsko
Автор

How can I map the Future[HttpResponse] to JSON instead of a String? I have code that uses Circe (hcursor) to parse JSON. Great video. I'm a long time Java dev who inherited a large scala/kafka project. Thanks
Never mind. Went through your Udemy class and figured it out. Thanks.

michaelh
Автор

Hello :D Great video, thank you a lot! Any chance to see something also with Slick or a db?

Автор

If my server returns a Json object how could I map the request response to a Json object in scala ?

maxton
Автор

Thanks for the tutorial. Your http api website gives 502 bad gateway and unable to find RockTheJVM on Linkedin as well :|

divyanshim
Автор

markup.su isnt available anymore, but still nice tutorial

huhuboss
Автор

I've just started learning Scala, it seems for now like such a clusterfuck programming language, I hope time will convince me otherwise..

filipstojiljkovic