Mock API Tool

I few months ago a friend of mine was doing some frontend development and need to mock out some API calls. In the past I’ve used tools like apiary or swagger to document APIs and even mock out endpoints. He was in a rush so neither were a great option. Both of these tools require quite a bit of setup, you have to use YML or some other format to create schemas for objects and setup your endpoints. He asked if I could make something really quickly for a few endpoints, so I decided to make a simple tool for him so he could create his own. Thus testapi.io was born.

What is it and what does it do?

I’m sure many of you have heard of Postman before, if not go check it out it is an awesome tool. Postman is designed to help you make requests to web servers and control what gets sent in without having to actually create an HTML page or create Curl requests. If you have ever created an API I’m sure you lived in Postman as it is one of the easiest ways to generate requests and test your endpoints.

So while Postman is great for simulating requests, what if you are working on the other side of a project? If you are writing a Single Page Application and you are going to be using a RESTful API but it is still being built how can you test your frontend code? Or even if you are working on backend code and just need to mock out a request to another API, how can you test this without actually setting up your own server? These are the types of situations that TestApi.io was created for. TestApi.io was created so you can quickly setup endpoints in a few seconds and keep working on your code. The tool is completely free and there are basically no limitations.

I would be happy to build in more features, so if you have any suggestions just let me know.


Leave a Reply

Your email address will not be published. Required fields are marked *