generated from mwc/lab_riddles
Forgot to add Checkpoint 2 requests to the notes.
They are there now :)
This commit is contained in:
15
notes.md
15
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 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
|
the riddle server. Paste below several `http` requests and the status codes
|
||||||
they return.
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user