Set endpoits

def add_endpoint(self):
        '''Set endpoits'''
        self.app.add_url_rule('/rest/mavlink/<path:arg>', 'rest', self.request)
        self.app.add_url_rule('/rest/mavlink/', 'rest', self.request)