Select an API endpoint from the left and run it from the request builder on the right.
Note: This is a fake/demo API that simulates a real REST service. All data is stored temporarily in memory and will reset on page reload.
Practice standard REST API operations using GET, POST, PUT, and DELETE requests with temporary demo data.
Endpoint: /api/api-demo.php?action=list
Method: GET
Response Code: 200 OK
Description: Returns the current list of demo items.
Request params:
action=list
Request body:
none
Test Cases:
Expected response:
{
"status": "success",
"data": [ ... ]
}