generated from mwc/lab_riddles
Forgot to add Checkpoint 2 requests to the notes.
They are there now :)
This commit is contained in:
parent
6de3b3ab61
commit
c33b40af81
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 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"
|
||||
|
|
Loading…
Reference in New Issue