HTTP Flashcards

(7 cards)

1
Q

Name the parts of a URL:
https://username:password@tryhackme.com:80/viewroom?id=1#task3

A

1) https: scheme
2) username:password: user
3) tryhackme.com: host/domain
4) :80: port
5) /viewroom: path
6) ?id=1: query string
7) #task3: fragment (location on page)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a GET request?

A

Gets info from a web server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a POST request?

A

Used for submitting data to the server and potentially creating new records.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a PUT request?

A

Used for submitting data to a web server to update information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a DELETE request?

A

Used for deleting info/records from a web server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 5 levels of HTTP status codes?

A

100: Information response
200: Success
300: Redirection
400: Client errors
500: Server errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly