def on_get(self, request, response, room_alias=None):
response.body = "<STR_LIT:{}>"<EOL>if self.handler(room_alias):<EOL><INDENT>response.status = falcon.HTTP_200<EOL>self.api.create_room(alias=room_alias)<EOL><DEDENT>else:<EOL><INDENT>response.status = falcon.HTTP_404<EOL><DEDENT>
Called when a GET request is sent to /rooms/{room_alias}