<human>:  How to obtain values of request variables using Python and Flask
<bot>: Here is some code to flask get value of request variable 'firstname'

first_name = request.args.get('firstname')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.