Practice siteSign inProducts

Practice site

The pages the Learn kaprevo lessons drive. Everything here runs on your own machine.

Course pages

Other sites served here

API endpoints

PathMethodReturns
/api/productsGETthe product list as JSON
/api/echoPOSTthe request's method, headers and body, as JSON
/api/slow?seconds=1.5GETJSON, after a delay (at most 10 seconds)
/api/status/<code>GETan empty response with that status code
/api/report.csvGETa CSV file sent as a download
/api/basic-authGETHTTP basic authentication (ada / secret)
/api/loginPOSTsign in with JSON {"user", "password"}; sets the cookie session=<user>
/api/meGETthe signed-in user from the session cookie, {"user": ...}