Preface

Prohibit unauthorized copying, distribution and publication of this document. If you would like to cite the contents and charts of this document, please specify the source and inform Team Morak(spooningTldkt@gmail.com) of the usage.

Overview

HTTP verbs

λͺ¨λ½λͺ¨λ½μ€ HTTP λ©”μ„œλ“œμ™€ μƒνƒœ μ½”λ“œμ— μžˆμ–΄ ν‘œμ€€ HTTP 및 REST κ·œμΉ™μ„ μ΅œλŒ€ν•œ μ€€μˆ˜ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€.

Verb
Usage

GET

Used to retrieve a resource

POST

Used to create a new resource

PATCH

Used to update an existing resource, including partial updates

DELETE

Used to delete an existing resource

Status code
Usage

200 OK

μƒνƒœλ₯Ό μ„±κ³΅μ μœΌλ‘œ μ²˜λ¦¬ν•¨.

201 Created

μƒˆ λ¦¬μ†ŒμŠ€λ₯Ό μ„±κ³΅μ μœΌλ‘œ 생성함.

204 No Content

κΈ°μ‘΄ λ¦¬μ†ŒμŠ€λ₯Ό μ„±κ³΅μ μœΌλ‘œ μ œκ±°ν•˜μ—¬ λ°˜ν™˜ν•  μžμ›μ΄ μ‘΄μž¬ν•˜μ§€ μ•ŠμŒ.

400 Bad Request

잘λͺ»λœ μš”μ²­μ΄λ―€λ‘œ μ„œλ²„μ—μ„œ μ²˜λ¦¬ν•  수 μ—†μŒ.

401 UNAUTHORIZED

잘λͺ»λœ μš”μ²­μ΄λ―€λ‘œ μ„œλ²„μ—μ„œ μ²˜λ¦¬ν•  수 μ—†μŒ.

403 FORBIDDEN

κΆŒν•œμ΄ λΆ€μ‘±ν•˜μ—¬ μš”μ²­μ„ μˆ˜ν–‰ν•  수 μ—†μŒ.

404 Not Found

μš”μ²­ν•œ μžμ›μ΄ μ‘΄μž¬ν•˜μ§€ μ•ŠμŒ.

409 CONFLICT

μ„œλ²„μ˜ κ·œμΉ™μ— μ˜ν•΄ ν•΄λ‹Ή μš”μ²­μ„ μˆ˜ν–‰ν•  수 μ—†μŒ.

Last updated

Was this helpful?