Magnolia 6.1 reached end of life on March 31, 2021. This branch is no longer supported, see End-of-life policy.
In this page, we suggest some tools you can use to test the REST API without needing to develop a REST consuming client application. Testing your REST requests is useful when you are developing client apps and similar things that interact with the REST endpoints.
Positive | For instance Firefox displays JSON and XML in a very readable format. |
Negative | A browser provides only limited control to tailor a request without further add-ons. Requests are sent as |
Tips | If you want to test on REST resources via Upgrade the browser with add-ons to extend its possibilities to control the request. |
cURL
is a command line tool. It can be used on most well-known operating systems.
Download | https://curl.haxx.se/download.html |
Positive | Very flexible for tailoring the request (method, request headers, user credentials, and so on). Response can be further processed. |
Negative | Not everybody likes command line tools. The response is not easy to read without further tooling. No out-of-the-box automatic URL encoding. |
Tips | On the first attempt of a request, use the If the response body is fine and delivers JSON, pretty-print and colorize the response body with tools such as jq. |