Kotlin TDD - Calling a Web API with http4k
source link: https://www.youtube.com/watch?v=e-DY_3X5O8w
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Kotlin TDD - Calling a Web API with http4k
We need to call a simple webservice to fetch the current prices for our magical items. In this episode we'll see how to use http4k as a client library to make the request and process the response.
This is Part 40 of an exploration of where a Test Driven Development implementation of the Gilded Rose stock control system might take us in Kotlin. You can see the whole series as a playlist and the code on GitHub https://github.com/dmcg/gilded-rose-tdd
You can see other http4k content in a playlist -
If you like this, you’ll probably like the book Java to Kotlin, A Refactoring Guidebook http://java-to-kotlin.dev.
Show lessShow more
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK