Database stuff works with RESTful api.