Ad
  • Custom User Avatar

    This really made me and my wife laugh

  • Custom User Avatar

    I found the description very confusing and only figured out what json post key I was supposed to use by looking at the test cases. I have provided a rewrite for the code descriptions below that will hopefully make this kata a bit more clear for future codwarriors:

    Implement a flask webserver that runs on localhost:4000 for host:port respectively.

    There should be two routes:

    1. Home route '/' that responds to [GET] requests with the dictionary {'toreturn':'whatitreturned'}.
    2. Reset route '/reset' that responds to [POST] requests with the json value for attribute "code".

    Your flask webserver's Flask.run() method should be called from the runner() method.