ankarhem / swerdle

Wordle in Swedish

Home Page:https://swerdle.ankarhem.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validation has issues with adblock

ankarhem opened this issue · comments

When validating a word the get request can cause issues with adblock.

All submits posts to /words/validate using body:

{
  word: string
}

if word is missing - return 400

If word exists, increment useage column in word table - return 200
If word doesn't exist, add to invalidGuesses table or increment useage in invalidGuesses table -- return 404
else return 500