REST with Flask