JoeBussard / polywordleapi

the api for playing polywordle
0 stars 0 forks source link

Add code for creating custom game #69

Closed JoeBussard closed 2 years ago

JoeBussard commented 2 years ago

Added code to the /newgame endpoint to check for solution:word key value pairs. Cleaned up code that was skipping over checking for the pair in JSON. added silent=True to calls to get_json() which was raising exceptions on requests that didn't have content-type=application/json header.