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
- model-free control
- loss functions
- REINFORCE
- clip intensity values
- Knowledge Distillation
- Policy Gradient
- Inorder Traversal
- domain adaptation
- freebooze
- normalization
- thresholding
- non parametic softmax
- scowl
- shadowing
- MRI
- resample
- objective functions for machine learning
- fastapi
- 3d medical image
- checkitout
- 자료구조
- remove outliers
- Actor-Critic
- straightup
- noise contrast estimation
- pulloff
- sidleup
- sample rows
- rest-api
- Excel
Archives
- Today
- Total
Let's Run Jinyeah
Build REST APIs 본문
Steps to build APIs
- identify the resources in web service
- define the API endpoints
- pick a data format in REST API
- XML: elements, each element has an opening and closing tag
- JSON: key-value pairs similar to a Python dictionary
- format your API responses to HTTP requests
- HTTP requests
- HTTP method, API endpoint, HTTP version, API host
- HTTP responses
- Success
- Content-Type header to define how to purse data
- status code
- Error
- description of what error occured along with the appropriate status code
- Success
- HTTP requests
3 popular frameworks for building REST APIs in Python
- Flask
- Django
- FastAPI
참고
https://realpython.com/api-integration-in-python/#rest-architecture
'Programming > Web' 카테고리의 다른 글
| [Python] Consuming APIs (0) | 2021.11.19 |
|---|---|
| [FastAPI] Build APIs (0) | 2021.11.19 |
| REST API (0) | 2021.11.19 |
| [Error]CSS style 변경 후 웹브라우저에 반영이 안되는 경우 (0) | 2021.01.15 |
| 웹 서버란? (0) | 2021.01.07 |
Comments