Skip to content

treeder/rest_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A tiny web app for testing http libraries.

Features:

  • Responds with whatever http status code you want
  • Can simulate temporary error situations
  • Can store and retrieve requests for review

Live version at: http://rest-test.iron.io , feel free to use it.

Endpoints and Parameters

/code/X where X is the http status code you want returned.

params:

  • switch_after with switch_to: will switch code to switch_to after switch_after times. Eg: /code/503?switch_after=3&switch_to=200
  • store={key}: will store request so you can retrieve it after and analyze it. Retrieve a stored request at /stored/{key}
  • namespace: set a namespace to not conflict with other users. Any string.

TODO:

  • A way to validate parameters

About

Tests http error codes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages