Note: This blog post is for Phoenix 1.2. If you’re on Phoenix >= 1.3 check out the Phoenix guides. Since writing the first version of this guide a lot has changed in Phoenix. In this post we’ll show you how to build and test the index and show actions of a JSON API with Phoenix 1.2. We’ll show you some new techniques we’ve learned since the last time. You’ll learn: How to use the built-in Phoenix
![Building and testing a Phoenix JSON API](https://cdn-ak-scissors.b.st-hatena.com/image/square/a5891da2cc0acca5cb3abd4b53df33ed56b1da12/height=288;version=1;width=512/https%3A%2F%2Fimages.prismic.io%2Fthoughtbot-website%2FZn0Q2JbWFbowe7qY_default-article-background.png%3Fauto%3Dformat%252Ccompress%26blend-mode%3Dnormal%26blend-x%3D0%26blend-y%3D0%26blend%3Dhttps%253A%252F%252Fimages.prismic.io%252Fthoughtbot-website%252FZ1tQFJbqstJ98cGP_default.png%26mark-x%3D356%26mark-y%3D100%26mark64%3DaHR0cHM6Ly9hc3NldHMuaW1naXgubmV0L350ZXh0Lz90eHQtbGVhZD0tMTUmdHh0LXRyYWNrPTAmdHh0NjQ9UW5WcGJHUnBibWNnWVc1a0lIUmxjM1JwYm1jZ1lTQlFhRzlsYm1sNElFcFRUMDRnUVZCSiZ0eHRjbHI9ZjVmNWY1JnR4dGZvbnQ9SUJNUGxleFNhbnNKUC1TZW1pQm9sZCZ0eHRwYWQ9MCZ0eHRzaXplPTc2Jnc9ODAw%26txt-align%3Dcenter%252Cmiddle%26txt-color%3Df5f5f5%26txt-fit%3Dmax%26txt-font%3DIBMPlexSansJP-SemiBold%26txt-size%3D24%26txt-x%3D391%26txt-y%3D526%26txt%3DPaul%2BSmith)