RestTest
v1.0.4
Published
A React.js component for testing RESTful service endpoints. Originally intended to be used in the creation of a healthcheck page.
Downloads
10
Readme
RestTest is a React.js component for testing the status of restful endpoints.
Usage:
<RestTest method="GET" name="Resource" url="http://localhost:8080/myResource"/>
<RestTest method="POST" name="Resource" requestBody={{name: "Steve", age: 17}} url="http://localhost:8080/myResource"/>
<RestTest method="PUT" name="Resource" requestBody={{name: "Steve", age: 17}} url="http://localhost:8080/myResource"/>
<RestTest method="DELETE" name="Resource" url="http://localhost:8080/myResource" headers={{AppId: "someid"}}/>