Submit an answer

I've left it to the user to write the if condition and return back a response. Too hard / easy?
Does this need to be a global?