forked from BCSDLab-Edu/web-introduction
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (80 loc) · 3.8 KB
/
index.html
File metadata and controls
89 lines (80 loc) · 3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/style.css">
<title>BCSDLab Web 과제</title>
</head>
<body>
<header>
<h1>안녕하세요, 김민준입니다!</h1>
</header>
<section class="card">
<h2>기본 정보</h2>
<p><strong>이름: </strong>김민준</p>
<p><strong>학번: </strong>2023100090</p>
<p><strong>전공: </strong>컴퓨터공학부</p>
<p><strong>이메일: </strong>whitedog0980@gmail.com</p>
<h3>
<a href="https://github.com/whitedog0980">Github 주소</a></p>
</h3>
</section>
<section class="card">
<h2>인사말</h2>
<p>
안녕하세요! 백엔드에 지원한 김민준입니다.<br>
저는 장르와 관계없이 작품을 보는것을 좋아합니다.<br>
최근에는 2010년 이전에 출시된 명작게임들을 즐기고 있는데, 상당히 재미있습니다.<br>
프론트엔드를 조금 공부하고나서, 백엔드의 영역이 궁금해져서 백엔드에 지원했습니다..<br>
</p>
</section>
<section class="card">
<h2>Web 퀴즈!</h2>
<ol>
<li class="card">
<h3>
HTTP Method 종류를 아는대로 설명해주세요.
</h3>
<div>
HTTP에서 사용되는 대표적인 메소드는 PUT, POST, DELETE, GET이 있습니다.<br><br>
<h4>GET</h4>
GET은 서버에서 데이터를 요청할 때 사용하는 메소드이다. 성공하면 <span style="color: greenyellow;">200 응답 코드를 받을 수 있다.</span><br>
<span style="color: palevioletred;">GET은 멱등성을 띈다.</span>
<h4>POST</h4>
POST는 서버에 새로운 데이터를 생성할 때 주로 사용된다. 성공하면 <span style="color: greenyellow;">201 응답 코드를 받을 수 있다.</span><br>
<p style="color: palevioletred;">POST는 반복하면 계속해서 새로운 데이터가 생성되므로,<br>멱등성을 띄지 않는다.</p>
<h4>PUT</h4>
PUT은 서버의 데이터를 생성하거나, 업데이트를 할 때 사용한다. 단, 상태성이 없으므로 모든 내용을 포함하여 업데이트를 할 필요가 있다.<br>
<p style="color: palevioletred;">PUT은 반복하여도 같은 값을 같은 내용으로 수정하므로<br>멱등성을 띈다.</p>
<h4>DELETE</h4>
DELETE는 서버의 데이터를 제거할 떄 주로 사용한다.<br>
<p style="color: palevioletred;">DELETE는 반복하여도 같은 대상에 대한 삭제 요청이므로<br>멱등성을 띈다.</p>
</div>
</li>
<li class="card">
<h3>
인터넷과 웹의 차이에 대해 설명해주세요.
</h3>
<div>
인터넷은 Web을 포함하는 개념이다. IP(인터넷 프로토콜)을 이용한다면 인터넷이다.<br>
그중에서 HTTP 프로토콜을 사용하며 URL을 이용하는 www(World Wide Web)은 Web이다.
</div>
</li>
<li class="card">
<h3>
www.naver.com을 치면 무슨 일이 일어날까요?
</h3>
<div>
www.naver.com에는 프로토콜이 적혀있지 않기 때문에 URL의 상위개념인 URI이다. <br>
따라서, www.naver.com을 주소창에 입력하게 되면 https://가 붙어 URL으로 자동으로 변환되어 입력된다.
</div>
</li>
</ol>
</section>
<footer>
<p>감사합니다 :)</p>
</footer>
</body>
</html>