now the rest api is working when the martini server is launched