Database connected, mailRest get/post