Simple play icon Course
Skills

Building an HTTP Application with Ktor

by Kevin Jones

Ktor is a Kotlin framework for writing both client and server-side HTTP applications. In this course, you will learn how to write secure server side Ktor applications that produces data in various formats and write a Ktor client to consume that data.

What you'll learn

Applications, be they web based or mobile, need to consume and produce data. In this course, Building an HTTP Application with Ktor, you’ll learn to write Ktor servers and clients to produce and consume data in multiple formats. First, you’ll explore how to write a server that responds to HTTP requests to different endpoints and write the code in such a way that you can send back data from the server in whatever format best suits your application. Next, you’ll discover how to secure that endpoint so that only the correct user can access the data. Finally, you’ll learn how to write an HTTP client using the Ktor client APIs to allow you to send requests to either servers you’ve written or third party applications. When you’re finished with this course, you’ll have the skills and knowledge of Ktor needed to write servers and clients in Kotlin.

About the author

A long time ago in a university far, far away Kevin fell in love with programming. Initially on the university's DEC20 computer doing BASIC and Pascal and a little bit of Fortran. His first job had him writing batch PL/1 on an IBM mainframe where he also discovered the arcane delights of JCL. He soon realized the multiuser systems were not for him after discovering the delights of dBase IV on IBM PCs. From here it was all downhill as he became addicted to C and the Windows API. Just missing out ... more

Ready to upskill? Get started