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
- sample rows
- normalization
- straightup
- Actor-Critic
- sidleup
- resample
- objective functions for machine learning
- scowl
- Excel
- shadowing
- model-free control
- rest-api
- pulloff
- Knowledge Distillation
- remove outliers
- thresholding
- 자료구조
- non parametic softmax
- 3d medical image
- Policy Gradient
- noise contrast estimation
- freebooze
- REINFORCE
- Inorder Traversal
- checkitout
- fastapi
- clip intensity values
- MRI
- domain adaptation
Archives
- Today
- Total
Let's Run Jinyeah
REST API 본문
REST Architecture
software architecture style that defines a pattern for client and server communications over a network
REST APIs and Web Services
REST web service
- web service that adheres to REST architecture contstraints
- expose their data to the ouside world through an API
REST APIs
- provide access to web service data through public web URLs
- listen for HTTP methods to know which operations to perform on the web service's resources
HTTP methods Description GET Retrieve an existing resource POST Create a new resource PUT Update an existing resource PATCH Partially update an existing resource DELETE Delete a resource - recieves and processes an HTTP request, it will return HTTP response (HTTP status code)
Code range Cateogry 2xx Successful operation 3xx Redirection 4xx Client error (request 문제, data 없음) 5xx Sever error - API Endpoints - URLs that a REST API exposes
HTTP method API endpoint Description GET /customers Get a list of customers GET /customers/<customer_id> Get a single customer POST /customers Create a new customer
참고
https://realpython.com/api-integration-in-python/#rest-architecture
'Programming > Web' 카테고리의 다른 글
[FastAPI] Build APIs (0) | 2021.11.19 |
---|---|
Build REST APIs (0) | 2021.11.19 |
[Error]CSS style 변경 후 웹브라우저에 반영이 안되는 경우 (0) | 2021.01.15 |
웹 서버란? (0) | 2021.01.07 |
[Error]XAMPP Apache - Error Apache shutdown unexpectedly (0) | 2021.01.07 |
Comments