For many API applications, there comes a time when the application needs to save images uploaded to the server either locally or on a CDN. Luckily for us, Elixir and Phoenix provide the tools we need to build a simple image upload API. The Simple API Let’s define exactly how this API is supposed to work: accept a request containing a base64 encoded image as a field preserve the image extension by
![Building An Image Upload API With Phoenix - DockYard](https://cdn-ak-scissors.b.st-hatena.com/image/square/de7f038a883ade517e8137a6fb660ecc328e5e5e/height=288;version=1;width=512/https%3A%2F%2Fi.imgur.com%2FxKrSHaM.png)