| ID | Name | Status | Created | |
|---|---|---|---|---|
| 0 | CS Hostinger | cs@hostinger.com | active | 2025-10-23 04:01:59 |
| 4 | Karin | karin-test@hostinger.com | active | 2025-10-23 05:47:54 |
| 5 | Agum | test-agum@hostinger.com | active | 2025-10-23 06:25:47 |
| 8 | Test User | naomi.sinaga@hostinger.com | active | 2025-10-26 07:08:45 |
| 9 | Mayas | mayas.test@hostinger.com | active | 2025-10-26 13:29:11 |
| 10 | Test User | test.user@hostinger.com | active | 2025-10-26 18:26:17 |
| 11 | Fabi B. | fabi-is-the-best@hostinger.com | active | 2025-10-26 18:54:35 |
| 12 | Test User | test.user@hostinger.com | active | 2025-10-27 06:04:25 |
| 13 | Header Test | header.test@hostinger.com | active | 2025-10-27 07:27:47 |
| 15 | res | res.user@hostinger.com | active | 2025-10-29 05:17:03 |
| 16 | Header Test | header.test@hostinger.com | active | 2025-10-30 01:39:09 |
| 17 | Karin ga pake aw | karin-testhostinger.com | active | 2025-10-30 02:09:10 |
| 18 | Winny | winny.tesalonika@hostinger.com | active | 2025-10-30 02:48:41 |
| 19 | aishaa | aisha.putri@hostinger.com | active | 2025-11-02 00:44:03 |
| 20 | Header Test | header.test@hostinger.com | active | 2025-11-09 09:07:20 |
| 21 | Header Test | header.test@hostinger.com | active | 2025-11-09 09:07:58 |
| 22 | Test User | test.user@hostinger.com | active | 2025-12-22 20:05:09 |
| 24 | Natalia | natalia.ramirez@hostinger.com | active | 2026-01-11 01:47:30 |
| 25 | misyel | misyel.bagtas@hostinger.com | active | 2026-01-22 05:46:10 |
| 27 | Usertester | karolina@hostinger.com | active | 2026-01-24 12:56:34 |
| 28 | TestUserKaro | karolina@hostinger.com | active | 2026-01-24 14:15:10 |
Purpose: Retrieve all users
curl -X GET "www.learningweb.site/index.php?api=users"
Purpose: Create a new user and get API key
curl -X POST "www.learningweb.site/index.php?api=users" \
-H "Content-Type: application/json" \
-d '{"name": "Jane Surname", "email": "jane.surname@hostinger.com"}'
Note: Save the returned API key - you'll need it for protected endpoints!
Purpose: Get specific user details
curl -X GET "www.learningweb.site/index.php?api=users/1"
Purpose: Update user information
curl -X PUT "www.learningweb.site/index.php?api=users/1" \
-H "Content-Type: application/json" \
-d '{"name": "Customer Success Updated", "status": "inactive"}'
Purpose: Generate API key for testing
curl -X GET "www.learningweb.site/index.php?api=generate-key"
Purpose: Delete a user
curl -X DELETE "www.learningweb.site/index.php?api=users/1"
Purpose: Access protected resource (requires API key)
curl -X GET "www.learningweb.site/index.php?api=protected" \ -H "Authorization: Bearer YOUR_API_KEY_HERE"
Purpose: Test rate limiting (3 requests per minute)
curl -X GET "www.learningweb.site/index.php?api=rate-limited"
Try: Make 4 requests quickly to see 429 error
Purpose: Generate specific HTTP error codes for testing
curl -X GET "www.learningweb.site/index.php?api=error-demo&error=404" curl -X GET "www.learningweb.site/index.php?api=error-demo&error=500"
Available errors: 400, 401, 403, 404, 429, 500, 503
You can test some endpoints directly in your browser by clicking these links: