← Back to list

TryHackMe | HTTP in Detail

Room Link : https://tryhackme.com/r/room/httpindetail

Redwan Ahmed · 2024-06-08 03:28 · 0 claps · 2.0 min read
#try-hack-m #ctf #hacking #room
Open on Medium ↗
Wiki topics: 🔒 · Cybersecurity

TryHackMe | HTTP in Detail

Room Link : https://tryhackme.com/r/room/httpindetail

Task 1 : What is HTTP(S)? 



Question no 01 : What does HTTP stand for? 

Answer : HyperText Transfer Protocol 



Question no 02 : What does the S in HTTPS stand for? 

Answer : secure 



Question no 03 : On the mock webpage on the right there is an issue, once you've found it, click on it. What is the challenge flag? 

Answer : THM{INVALID_HTTP_CERT} 



Task 2 : Requests And Responses 



Question no 01 : What HTTP protocol is being used in the above example? 

Answer : HTTP/1.1 



Question no 02 : What response header tells the browser how much data to expect? 

Answer : Content-Length 



Task 3 : HTTP Methods 



Question no 01: What method would be used to create a new user account? 

Answer : POST 



Question no 02 : What method would be used to update your email address? 

Answer : PUT 



Question no 03 : What method would be used to remove a picture you've uploaded to your account? 

Answer : DELETE 



Question no 04 : What method would be used to view a news article? 

Answer : GET 



Task 4 : HTTP Status Codes 



Question no 01: What response code might you receive if you've created a new user or blog post article? 

Answer : 201 



Question no 02 : What response code might you receive if you've tried to access a page that doesn't exist? 

Answer : 404 



Question no 03 : What response code might you receive if the web server cannot access its database and the application crashes? 

Answer : 503 



Question no 04 : What response code might you receive if you try to edit your profile without logging in first? 

Answer : 401 



Task 5 : Headers 



Question no 01 : What header tells the web server what browser is being used? 

Answer : User-Agent 



Question no 02 : What header tells the browser what type of data is being returned? 

Answer : Content-Type 



Question no 03 : What header tells the web server which website is being requested? 

Answer : Host 



Task 6 : Cookies 



Question no 01 : Which header is used to save cookies to your computer? 

Answer : Set-Cookie 



Task 7 : Making Requests 



Question no 01 : Make a GET request to /room 

Answer : THM{YOU'RE_IN_THE_ROOM} 



Question no 02 : Make a GET request to /blog and using the gear icon set the id parameter to 1 in the URL field 

Answer : THM{YOU_FOUND_THE_BLOG} 



Question no 03 : Make a DELETE request to /user/1 

Answer : THM{USER_IS_DELETED} 



Question no 04: Make a PUT request to /user/2 with the username parameter set to admin 

Answer : THM{USER_HAS_UPDATED} 



Question no 05: POST the username of thm and a password of letmein to /login 

Answer : THM{HTTP_REQUEST_MASTER} 

메타데이터
post_id
e9feb83b598b
slug
tryhackme-http-in-detail-e9feb83b598b
url
https://medium.com/@r3dw4n4hm3d/tryhackme-http-in-detail-e9feb83b598b
canonical_url
https://medium.com/@r3dw4n4hm3d/tryhackme-http-in-detail-e9feb83b598b
author_url
https://medium.com/@r3dw4n4hm3d
status
ok
fetched_at
2026-06-24 16:30:55