...

/

Solution 4: Working with REST APIs

Solution 4: Working with REST APIs

Let’s solve the challenge set in the previous lesson.

We'll cover the following...

Solution

Here are the handlers.go functions separated into individual files in the handlers directory.

Let’s test the RESTful server using curl(1). Here are the commands to run the client:

Access this course and 1400+ top-rated courses and projects.