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
- loss functions
- Excel
- remove outliers
- 3d medical image
- Actor-Critic
- thresholding
- Knowledge Distillation
- clip intensity values
- Policy Gradient
- normalization
- freebooze
- straightup
- noise contrast estimation
- MRI
- shadowing
- pulloff
- checkitout
- rest-api
- 자료구조
- non parametic softmax
- model-free control
- sidleup
- resample
- objective functions for machine learning
- fastapi
- Inorder Traversal
- sample rows
- domain adaptation
- scowl
- REINFORCE
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