:( /check route confirms whether username is available route did not return true when username is available Log sending GET request to /check?username=check50student1 checking that status code 200 is returned...
That's what I'm getting.
However that's exactly what I'm responding with:
DEBUG:cs50:SELECT id FROM users WHERE username = 'check50student1' 192.168.122.54 - - [06/Dec/2019 14:11:06] "GET /check?username=check50student1 HTTP/1.0" 200 - INFO:werkzeug:192.168.122.54 - - [06/Dec/2019 14:11:06] "GET /check?username=check50student1 HTTP/1.0" 200 -
Could it be that the key of the answer in JSON is also checked? I'm responding with this: