generated from mwc/lab_riddles
I completed the second checkpoint.
I made three requests to get all three "desired" status messages. 1. One Internet-enabled device I use regularly is my iPhone. When I swipe left from the home screen, I can see the weather for the day. It's likely making a request for the weather using of whatever source they use. I'm not sure if they send my location with the request or if they get the weather for everywhere and then just display on my device the relevant weather for my location. I'd assume it's the former since that seems like it'd require less data to be transferred? 2. I've seen 404 messages when trying to go to URLs that don't exist, but I'd not really thought about what it meant or if I could get other numbers to show up! I just accepted its existence and didn't question if there was a reason for that particular number. I do wonder whether any or what information from my device gets sent with these requests. I know some things I get asked for permismsion to share, like my location with Hulu, but are there things that get shared without needing my permission? How does a server know where to send a response? I've been ignoring the whole TikTok ban stuff for the moment (I could probably benefit from a ban...) but I'm wondering if there's anything to be said about potential merits of lawmaker's case (even if I'm not sure I trust any American social media/governmental organizations that much more...). (I really hope I don't sound like a conspiracy theorist now...)
This commit is contained in:
parent
0996a2cf0d
commit
b3b355caa3
9
notes.md
9
notes.md
|
@ -26,3 +26,12 @@ This looks like the response provided a dictionary?
|
|||
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.
|
||||
|
||||
http -v open https://riddles.makingwithcode.org/all
|
||||
HTTP/1.1 405 Method Not Allowed
|
||||
|
||||
http -v get https://riddles.makingwithcode.org/
|
||||
HTTP/1.1 404 Not Found
|
||||
|
||||
http -v post https://riddles.makingwithcode.org/new
|
||||
HTTP/1.1 400 Bad Request
|
||||
|
|
Loading…
Reference in New Issue