def get(self, thing_id='<STR_LIT:0>'):
thing = self.get_thing(thing_id)<EOL>if thing is None:<EOL><INDENT>self.set_status(<NUM_LIT>)<EOL>return<EOL><DEDENT>self.set_header('<STR_LIT:Content-Type>', '<STR_LIT:application/json>')<EOL>self.write(json.dumps(thing.get_properties()))<EOL>
Handle a GET request.

thing_id -- ID of the thing this request is for