Subscribe for only $15 to access all of our content

#77: Validating API Parameters Part 2

In episode 76 we saw one way of validating our API request parameters with Ecto changesets. While using schemaless Ecto changesets in this way is a great way to provide validation, I wanted to take a look at another way of doing this, using the Params package. Params is a simple wrapper around Ecto.Schema that helps you reduce a lot of the boilerplate of defining Ecto schema’s and changesets.

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