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

#86: API Authorization with API Keys Part 2

Now that we have our application generating API keys, we need to validate incoming API requests. In part 2 of this series, we’ll create a plug that validates the API key used.

Watch episode
Alchemist's Edition

#85: API Authorization with API Keys Part 1

There are many different ways to authorize API requests. In part 1 of this series we will setup an Elixir application to generate an API key we can use to authorize API requests with.

Watch episode
Alchemist's Edition

#84: JSON:API Pagination

In this episode we’ll learn how to paginate JSON API results according to the JSON:API specification using the JaSerializer package.

Watch episode