From the course: Calling REST APIs with Java
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Feign
- [Instructor] The feign project takes a different approach to making API calls. That makes it much easier. Instead of building API requests with the builder, open feign allows us to build interfaces that define the API call. Let me show you what I mean. I think you're really going to like this. So to get started, we need to add two dependencies to our Palm dot XML file. So here you'll see that I've added feign core and feign Jackson. With those dependencies in place, we can start out by creating a new interface within our calm dot LinkedIn dot API dot Twilio package. So I'll open the dialogue and just build an interface and I'm going to name it Azure sentiments clients. So you might be asking why are we working with Azure? Well, I wanted to make sure that you got the experience working with feign and Jason. And since Twilio's API isn't using Jason, we're going to circle back and recreate one of our Azure calls to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.