MethodGET
Authbearer
Assertions passed3 / 3
Response bodyvalid JSON
Assertion results
| Assertion | Result | Detail |
|---|---|---|
| status == 200 | pass | expected status 200 |
| body.data is array | pass | resolved [{"customerId":"C-1001","name":"Acme Manufacturing"}] |
| body.meta.count >= 1 | pass | resolved 1 |
| response time < 500ms | skipped | No runtime timing in the browser preview. |
curl:
curl -X GET 'https://api.example.com/customers?limit=25&include=orders' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
fetch:
await fetch("https://api.example.com/customers?limit=25&include=orders", {
method: "GET",
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json",
"Accept": "application/json"
},
});