Toolbox for developers / Online REST client

REST client

This tool allows you to test RESTful API. You must allow CORS in your REST API (more informations about CORS).

You can see the user guide to help you to use this REST client.

Request

Method URL
Basic Authentication
Username Password
Headers
Name Value
Body

Favorite request

User guide

  • 1 - Select the HTTP method
  • 2 - Fill the URL of web service to test.
  • 3 - Add a basic authentication if necessary.
  • 4 - Add HTTP headers if necessary.
  • 5 - Add a request body if necessary.
  • 6 - Call your web service
REST Testing tool


Favorite requests

You can save your favorite requests so that you will find it during your next visits.
Click on the "Add to favorites" button to add 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.


Cross-Origin Resource Sharing (CORS)


It creates HTTP requests on the client side, 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:

header('Access-Control-Allow-Origin: *');

If you want to know more about Cross-Origin Resource Sharing: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS



About REST (Representational state transfer)

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:

  • A base URI for the API
  • Internet Media Types Used by the REST API (such as JSON or XML)
  • Request operations such as GET, PUT, POST, PATCH or DELETE

REST asks developers to use HTTP methods explicitly :

  • GET: To retrieve a resource
  • PUT: To add or update a resource
  • PATCH: To partially update a resource
  • DELETE: To delete a resource
  • POST: Everything else

Facebook, Google, Twitter ... provide REST APIs. You can find many useful APIs for developers.



You can report a bug or give feedback by adding a comment (above) or by clicking "Contact us" link (at the top right hand corner of the page).

Comments





The tools are provided "as is", without warranty of any kind, either express or implied.