Kotlin TDD - Calling a Web API with http4k

35 Просмотры
Издатель
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
https://www.youtube.com/playlist?list=PL1ssMPpyqociJNwykAOB9_KEZVW7BW7m2
and the code on GitHub
https://github.com/dmcg/gilded-rose-tdd

You can see other http4k content in a playlist - https://youtube.com/playlist?list=PL1ssMPpyqocg5TKqmiGWlvi3O5L8XPe8Q

If you like this, you’ll probably like the book Java to Kotlin, A Refactoring Guidebook
http://java-to-kotlin.dev.
Категория
Язык программирования Kotlin
Комментариев нет.