# Building APIs - EMX 181

> Episode of [Elixir Mix](https://podistic.com/podcast/elixir-mix.md) · Published July 13, 2022 · Duration 1:02:17

- **Listen on Podistic:** https://podistic.com/episode/building-apis-emx-181
- **Audio:** https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/58850436/stream.mp3 (audio/mpeg)

## About this episode

In this episode Adi and Sascha dig deeper into what it means to consume and build APIs in Elixir and how a RESTful approach compares to choosing GraphQL as your weapon of choice. Along the way they discuss common pitfalls when building APIs (spoiler: one is caching), how to test all of this, and what their personal preferences and experiences are in creating APIs in Elixir.  
  
  
 Sponsors

*   [Top End Devs](https://topenddevs.com/)
*   [Coaching | Top End Devs](https://topenddevs.com/coaching)

  
Links

*   [Finch - Finch v0.12.0](https://hexdocs.pm/finch/Finch.html)
*    [HTTPoison - HTTPoison v1.8.1](https://hexdocs.pm/httpoison/HTTPoison.html)
*   [GitHub - elixir-plug/plug\_cowboy: Plug adapter for the Cowboy web server](https://github.com/elixir-plug/plug_cowboy)
*   [Instant GraphQL APIs on your data | Built-in Authz \& Caching](https://hasura.io/)
*   [JWT.IO](https://jwt.io/)
*   [DDD, Hexagonal, Onion, Clean, CQRS, ... How I put it all together](https://herbertograca.com/2017/11/16/explicit-architecture-01-ddd-hexagonal-onion-clean-cqrs-how-i-put-it-all-together/)
*   [Protocol Buffers | Google Developers](https://developers.google.com/protocol-buffers/)
*   [GitHub - parroty/exvcr: HTTP request/response recording library for elixir, inspired by VCR.](https://github.com/parroty/exvcr)
*   [Boston Elixir June 2021 - Adi Iyengar - Levels of testing API calls](https://www.youtube.com/watch?v=yLxGXlyhfCs)
*   [How I deal with behaviours and boilerplate - Sascha Wolf](https://saschawolf.me/2019/07/how-i-deal-with-behaviours-and-boilerplate)
*   [A guide to fuzz testing](https://testfully.io/blog/fuzz-testing/)

  
Picks

*   Adi- Reach out if you're hiring Elixir devs! ([aditya7iyengar@gmail.com](https://gmail.com))
*   Adi- Buy a punching bag for both workout/releasing frustration
*   Adi- [Testing Elixir](https://pragprog.com/titles/lmelixir/testing-elixir/)
*   Sascha- [Deep Rock Galactic](https://www.deeprockgalactic.com/)

  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy \& Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)  
  
Become a supporter of this podcast: [https://www.spreaker.com/podcast/elixir-mix--6102049/support](https://www.spreaker.com/podcast/elixir-mix--6102049/support?utm_source=rss\&utm_medium=rss\&utm_campaign=rss).
