API Output

Learn how to analyze the JSON output of the API.

We'll cover the following

In the previous chapter, we added products to the application and built all the necessary routes. We have also associated a product with a user and restricted some of the actions of the products_controller. You should be very proud of all this work, but we still have more to do.

Analyze the JSON output

Currently, we have a JSON output that is not perfect. Let’s take a look at what our JSON output looks like. Click the “Run” button below to open a terminal.

Get hands-on with 1200+ tech skills courses.