KB-7070054

Send a safe request in the API Tester

Choose the method and tenant, put query parameters in the path and interpret the response panel without performing writes.

7 views

Use the tester as the current signed-in administrator

Open API Docs → API Documentation & Tester and start with the Routes pane. Confirm the Active tenant before selecting a route; the page groups routes by applicability and fills the method, relative path and any sample body. The API Tester sends a real request, not a simulation. Its credentials and tenant context come from the browser session. A WRITE label or a non-GET method is a reason to stop for this read-only exercise, even if the payload looks like sample data.

Worked example: request a small audit page

In an authorized service tenant, use an administrator with read access to Administrators. Select GET /api/audit or type the following relative path into API Tester. Set GET explicitly and leave Optional JSON request body empty. Use Send request and inspect Response, including the status.

/api/audit?page=1&page_size=25&result=success

An HTTP 200 should render a JSON object with items, total, page, pageSize and totalPages. A known successful event can be compared with the tenant’s Audit Log; a scope with no matching events can legitimately return an empty items array. The query belongs after the question mark in the route, not in a JSON object in the request body. For a separately authorized write workflow, inspect the actual endpoint contract before using any editable sample; a filled example is not proof that the object is valid or that the operation is safe.

If the result is not as expected

A 401 calls for checking the current signed-in session; a 403 calls for reviewing Administrators access and tenant selection rather than moving to a broader account. If this read returns non-JSON content, verify you did not use a page path such as audit.html instead of an API route. If the formatter reports Request body is not valid JSON while preparing a body-bearing request, correct the JSON before a send; for this GET just clear the field. No debug is required. In a screenshot or handoff retain only the redacted path, status and schema shape. Remove administrator identities, IP addresses, audit details and authorization headers.

References

  1. RadiusStack official wiki
  2. RFC 9110: HTTP Semantics
  3. RadiusStack API Docs and Tester
  4. RadiusStack audit filters and paging