BackEnd/PYTHON, Django

REST FRAMEWORK - MAKE API

namhj 2019. 12. 10. 09:31
반응형

"REST = Representational State Transfer"

"EAST WAY TO MAKE API"

 

HTTP
"Hypertext Transfer Protocol"
- Client(Request) <-> Server(Response)
- CRUD
- Request (header, body)
- Response (header, body)
- Method
    1. Get = READ (SELECT)
    2. Post = CREATE (INSERT)
    3. Put = UPDATE
    4. Delete = DELETE

 

Install
1. terminal > pipenv shell
2. terminal > pipenv install djangorestframework
3. check 'config > settings > base.py > THIRD_PARTY_APPS'

반응형