Skip to content
A testing utility for your RESTful APIs
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
icons
README.md
index.html
reset.css
script.js
style.css

README.md

REST testing utility

If you are building a RESTful API this tool is for you. It provides a quick access to your (wip) API and nicely formats common output formats.

Installation

Just clone this repository into a folder on the vhost of the API you are going to test. That's it!

Usage

Here's a screenshot: http://i.imgur.com/Zuk8X.png

To start, choose an HTTP verb to use, enter a URL and press Send. You will see the call's output in the Response area together with all headers received.

If you need custom parameters you can add them in the according textarea. Each line represents a key=value pair.

Example:

foo=myvalue
bar[]=some1
bar[]=some2

To see a nicely formatted presentation of your API call, press the Show Output button.

Tips & Tricks

  • Most fields have an accesskey set, allowing you to use the toll with almost no mouse interaction:

    • Method: M
    • URL: U
    • Parameters: P
    • Send: S
    • Show/Hide Output: O
  • If you don't need some headers (I bet you don't need the Server: Apache/2.. header all the time) you can specify those in the Ignore headers field below the output as a comma separated list. They will get saved in localStorage so don't worry about always setting them again.

  • You can also set additional headers that are sent with each request, to test e.g. against OAuth. Just specify the headers in the according field in the Options panel as key=value pairs

Colophon

This utility uses the following third party contents:

TODO

  • Format XML output
  • -Specify additional headers for requests- done!

Have fun testing!

Something went wrong with that request. Please try again.