Create the GET Endpoint

Get address by using the id endpoint

We created the address module in previous lessons with a controller and service. It’s time to implement our first API endpoint!

Add the service method

First, let’s create a new method in AddressService.

Get hands-on with 1200+ tech skills courses.