This tester tool allows you to test rest API online. You can test local or public REST API:
You can see the user guide to help you to use this REST client. This tool does not work on IE.
This guide explains how to test JSON API online with this tool:
Step 1 - Select the HTTP method
Step 2 - Fill the URL of web service to test.
Step 3 - Add a basic authentication or headers if necessary. You can also add a request body if necessary.
Step 4 - Call your web service
You can also beautify the web service response if it is XML or JSON data.
Select the place of sending of the request: From browser or from server
If you want to test a custom REST API which is not public, select from browser. But CORS must be enabled.
If you want to test a public REST API which for which CORS is not enabled, select from server.
You can save your favorite requests so that you will find it during your next visits.
Click on the "Add or update a favorite" button to add or update current request in favorites.
Click on the "List of favorites" button in order to load a favorite request.
Warning, this is a local backup in your browser, it can be deleted at any time.
When you select "Send REST API Request from your Browser" mode, it creates HTTP requests on the client side, your browser directly launches requests, the calls are cross domain. Cross-Origin Resource Sharing (CORS) is a mechanism to let a user agent gain permission to access selected resources from a server on another domain (than extendsclass.com).
You must allow CORS in your REST API. Example for CORS in php:
If you want to know more about Cross-Origin Resource Sharing: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
This rest client allows to test API online. This can be useful for a small test of an API, for example to launch 3 or 4 requests, it does not require installation.
You can launch requests to a public REST API (CORS can be diabled). You can also test your local API, with requests launched directly in the browser.
It is better to use a more functional heavy client in the case of advanced tests. API testing tools do not replace test automation (for example: UI tests with selenium ... ).
REST is a set of architectural principles which is stateless (not keep a client state on the server). It is a alternative to SOAP (Simple Object Access Protocol), which is more heavyweight.
There is no standard for the description format of REST services. To describe a REST webservice you can use WADL, Swagger/OpenAPI, RAML and others formats.
REST usually structures data in JSON, but it can also be XML, YAML, or any other format.
A RESTful API Web service uses both HTTP and REST, it includes:
REST asks developers to use HTTP methods explicitly :
Facebook, Google, Twitter ... provide REST APIs. You can find many useful APIs for developers.