#NEWLINE# @ app . route ( '/profile/<profile_id>' , methods = [ 'GET' ] ) #NEWLINE# @ app . route ( '/profile/<profile_id>.json' , methods = [ 'GET' ] ) #NEWLINE# def user_profile( profile_id ) : #NEWLINE# #INDENT# resp = get_user_profile_dict ( resp ) #NEWLINE# resp = json_resp_from_thing ( resp ) #NEWLINE# return resp