diff --git a/notes.md b/notes.md index 278621b..c2af7af 100644 --- a/notes.md +++ b/notes.md @@ -21,3 +21,18 @@ Line 14: This shows the filetype of what was requested. The goal of this checkpoint is to see what status codes you can get back from the riddle server. Paste below several `http` requests and the status codes they return. + +400 Bad Request: + +http -v post https://riddles.makingwithcode.org/guess id=1000 answer="a short-legged cow" +http -v post https://riddles.makingwithcode.org/guess id=invalid_id answer="a short-legged cow" + +404 Not Found: + +http -v post https://riddles.makingwithcode.org/guess/this_is_wrong id=1 answer="a short-legged cow" +http -v post https://riddles.makingwithcode.org/guessssssssssssssss id=1 answer="a short-legged cow" + +405 Method Not Found: + +http -v posts https://riddles.makingwithcode.org/guess id=1 answer="a short-legged cow" +http -v invalidmethod https://riddles.makingwithcode.org/guess id=1 answer="a short-legged cow"