Notice
Recent Posts
Recent Comments
Link
μΌ | μ | ν | μ | λͺ© | κΈ | ν |
---|---|---|---|---|---|---|
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 |
Tags
- λμ κ³νλ²
- algoritm
- HAVIT
- SwiftUI
- Til
- SwiftUI νν 리μΌ
- κΈ°μ΄λ¬Έλ²
- μ°μνμ€λΆλΆμμ΄μν©
- algorithm
- GCD
- BFS
- GroupBy
- IOS
- concurrency
- SOPT
- 0μ΄λμ΄μλκΈΈ
- κ³ λμ kit
- μ΄μ§νμ
- SwiftUI Tutorials
- DynamicProgramming
- binarySearch
- λ€μ΄λλ―Ήνλ‘κ·Έλλ°
- νλ‘κ·Έλλ¨Έμ€
- discardableResult
- dfs
- duno
- Swift
- URLSession
- APPJAM
- SQL
Archives
- Today
- Total
suvera-dev π₯¦
HTTP λ³Έλ¬Έ
HTTP : νμ΄νΌλ―Έλμ΄ λ¬Έμλ₯Ό μ£Όκ³ λ°μ μ μλ νλ‘ν μ½ (κ·μΉ)
βοΈ TCP/ IP & UDP νλ‘ν μ½μ μ¬μ©
βοΈ 80λ² ν¬νΈ μ¬μ©
βοΈ HTTPSλ 443λ² ν¬νΈ μ¬μ©
π₯ Stateless protocol : 무μν νλ‘ν μ½
- μλ²κ° λ μμ² κ°μ μ΄λ ν λ°μ΄ν°(μν)λ μ μ§νμ§ μμ , λͺ¨λ μμ²μ΄ μνΈ λ 립μ
- Cookie, Session, Token λ±μ μ¬μ©νμ¬ κ·Ήλ³΅
π HTTP Method
HTTP Method | ACTION | REQUEST BODY |
GET | μ‘°ν | β |
POST | μμ± | βοΈ |
PUT | μμ | βοΈ |
DELETE | μμ | β |
πΏ HTTP STATUS CODE
μλ΅ μ½λ λ²μ | νμμν |
2xx | μ±κ³΅μν |
3xx | 리λ€μ΄λ μ μ μ리λ μν |
4xx | μμ² μ€λ₯ |
5xx | μλ² λ΄λΆ μ€λ₯ |
μλ΅μ½λ | νμμν | |
200 | OK | μ±κ³΅ |
201 | Create | μλ²κ° μλ‘μ΄ λ¦¬μμ€ μμ± |
204 | No Content | μ λ¬ν΄μ€ μλ΅ λ°μ΄ν° X |
301 |
Moved permanently
|
μ°νν νμ΄μ§λ‘ μꡬμ μ΄λ |
302 |
Found
|
μ°νν νμ΄μ§λ‘ μΌμμ μ΄λ |
304 |
Not modified
|
μΊμλͺ©μ , μμ² ν μμ λ κ² X |
μλ΅μ½λ | νμμν | |
400 | Bad Request | μλ²κ° μμ²μ μ΄ν΄νμ§ λͺ»ν¨ |
401 |
Unauthorized
|
μΈμ¦μ΄ νμ |
403 |
Forbidden
|
μμ²μ κ±°λΆν¨ |
404 |
Not Found
|
νμ΄μ§, 리μμ€λ₯Ό μ°Ύμ μ μμ |
500 |
Internal server error
|
μλ² λ΄λΆ μ€λ₯ |
503 |
Service unavailable
|
μΌμμ μΌλ‘ μλ² μ΄μ© λΆκ° |
π₯¦ Request
1. URL : param/ query
2. Header : λΆκ°μ μΈ μ 보λ₯Ό μ μ‘
3. Body : XML, JSON, Multi Form λ±μ λ°μ΄ν°
βοΈ Response
1. Body : XML, JSON, Multi Form λ±μ λ°μ΄ν°
'Server' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
CRUD (1) - κ°λ λ° νμκ°μ ꡬν μ€μ΅ (1) | 2022.02.02 |
---|
Comments