Teach Your Web API To Speak Loud And Clear CLI!

Jorge VásquezJorge Vásquez
1 min read

Most Scala-based backend applications are web APIs, which typically use the HTTP protocol and the JSON format. As a developer, it's crucial to test your APIs during development. One option is to call them from the command line using tools like curl, but this process can be time-consuming and prone to errors, requiring writing headers and constructing JSON manually. This affects you while testing, and also DevOps and SREs who need to call your APIs from the command line or include these calls in scripts.

In this presentation at ZIO World 2023, I've introduced a new and exciting feature of ZIO HTTP. With it, you will be able to easily access your API through an automatically-generated command-line interface. Testing and accessing your API will become a breeze, with rich features such as:

  • Comprehensive help pages

  • Data validation

  • Auto-completion

  • Spelling correction.

Say goodbye to the struggles of the past and embrace a new, easy, and joyful way of testing and calling your API from the command-line!

Watch the recording:

💡
You can find the slides here
0
Subscribe to my newsletter

Read articles from Jorge Vásquez directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Jorge Vásquez
Jorge Vásquez

I'm a Software Developer, mostly focused on the backend. I've had the chance to work with several technologies and programming languages across different industries, such as Telco, AdTech, Streaming and Online Education. I'm always looking to improve my skills, finding new and better ways to solve business problems. Above all, I love Functional Programming. I'm convinced it can help to make better software, and I'm excited about languages and libraries that are making FP more accessible to developers