def render_region(self, region):

        anchors = str(region.anchors[0]) + " " + str(region.anchors[1])

        return Element('region', {'anchors': anchors, 'xml:id': region.id})
Actual implementation of REST post.
dataset/ETHPy150Open cidles/graf-python/src/graf/io.py/GrafRenderer.render_region--crossover with--dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/Dispatcher.post_impl