Subscribe for only $15 to access all of our content

#76: Validating API Parameters Part 1

In this episode let’s see how we can validate data that doesn’t have an associated schema. To start let’s take a quick look at the application we’ll be using. Here we have a Phoenix API search route that our users can use to query for an album that’s in our database.

When a new request is made, we want to validate the params so that we can lookup an album and return it…

Join to Subscribe

More Episodes

Alchemist's Edition

#93: Ecto.Multi

In this episode we’ll explore Ecto.Multi in order to compose database transactions in Elixir.

Watch episode

#92: Introduction to Testing

Testing is an essential part of software development. In this episode we’ll get an introduction to testing in Elixir using the ExUnit test framework.

Watch episode

#91: Filtering Parameters in Phoenix

Often you’ll have sensitive information that you don’t want to show up logs. In this episode we’ll see how to configure Phoenix to specify what parameters you want filtered in your logs.

Watch episode