REST API for DB course