Lets you view, create, delete and update books in a remote book database.
Client CRUD web app for the Forverkliga Database API.
The API itself simulates a poorly designed Book Database API with CRUD-functionality.
- The API has a high likelihood of failing. On every operation.
- The API returns
HTTP 200
on every operation - The API returns a
JSON
but the MIME-type is erroneously set totext/html
. - The API accepts only query-parameters.
- Only
GET
is used.
- The app can request a API-key
- All AJAX-calls are repeated until they succeed (with a limit of 10 tries).
- CRUD functionality:
- Add data to database
- View data in database
- Modify data in database
- Delete data
Disable CORS in your browser (CORS everywhere extension) or launch a simple Python webserver in the app's root folder:
$ python -m SimpleHTTPServer 8080
ES6