Setting up a mock api is easy as 1,2,3

Login

Simply login with your github account. No need to create another account and remember another password.

Create an Endpoint

Create an endpoint by simply entering in a route, request type, return message, http return code and optional headers.

Generate Token

Generate a new API token to use with your requests. Currently tokens are good for 12 hours.

Questions or Feature Requests

What Is It?

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.

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. We know there are other tools out there like Apiary and Swagger and even recommend them, however they can either cost money or can be somewhat complex to setup and host somewhere. So TestApi.io was created so you can quickly setup endpoints in a few seconds and keep working on your code.

About

TestApi.io was created by developers who at many times wish they had an easy way to setup a mock api. We got sick and tired of constantly setting up a simple application just to mock out these requests so we created a simple tool to do this for us. Currently TestApi.io is completely free the only limitation is api tokens are only good for 12 hours. We may increase this in the future depending on usage. Hope this simple tool helps you out!