본문 바로가기

Daily Develope

검색하기
Daily Develope
프로필사진 noggame

  • 분류 전체보기 (109)
    • Develope (53)
      • Python (31)
      • Web (18)
      • ETC (4)
    • AI (16)
    • DB (6)
    • MicroService (7)
      • Docker (6)
      • Kubernetes (1)
    • OS (15)
      • Linux (10)
      • Windows (1)
      • Mac (4)
    • Git (7)
    • Algorithm (1)
    • Favorite (1)
      • 책갈피 (1)
      • Music (0)
Guestbook
Notice
  • migration 중입니다...
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
Tags
  • format
  • git
  • pandas
  • AI
  • Linux
  • Mac
  • Python
  • Container
  • KAKAO
  • Paper
  • judge
  • DB
  • Converting
  • PostgreSQL
  • TORCH
  • enV
  • Windows
  • GitLab
  • evaluation
  • file
  • Database
  • pytorch
  • docker
  • CUDA
  • Package
  • LLM
  • list
  • Flask
  • Laravel
  • numpy
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록data (1)

Daily Develope

[FLASK] request 정리

flask에서 데이터 읽기사용자가 데이터를 싣어보내는 방법이 다양하기에, 규격(유형)에 맞는 데이터 읽기 방법을 구현해야한다.샘플코드- Get 요청 : request.args 로 데이터 전달- Post 요청 : request.form 으로 데이터 전달- 입력 유형(format)에 따라 데이터 구분 가능 (request.content_type)from flask import request#...@sample.route('/', methods=['GET', 'POST'])def sampleAPI():# ... contentType = request.content_type # 또는 contentType = request.headers.get('Content-Type') args = None ..

Develope/Web 2022. 8. 16. 13:32
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바