AJAX/jQuery connection with REST/API Script written in jQuery connects with DB and by methods allows: GET (basic view) - show list of books, PUT - add a new one to DB, DELETE - remove selected entry from DB.