Python

[module] Python - requests 모듈 메서드 종류 (※ 요청 모듈)

1309
목차
  1. requests 모듈 설치
  2. requests 모듈 메서드 종류

 

requests 모듈 설치

※ CMD 모드에서 아래 명령어 실행.

 

pip install requests

 

 

requests 모듈 메서드 종류

 

requests.delete(url, args)

지정 URL에 DELETE 요청 보냄.

 

requests.get(url, params, args)

지정 URL에 GET 요청 보냄.

 

requests.head(url, args)

지정 URL에 HEAD 요청 보냄.

 

requests.patch(url, data, args)

지정 URL에 PATCH 요청 보냄.

 

requests.post(url, data, json, args)

지정 URL에 POST 요청 보냄.

 

requests.put(url, data, args)

지정 URL에 PUT 요청 보냄.

 

requests.request(method, url, args)

지정 메서드의 요청을 지정 URL로 보냄.

 



분류 제목
mongodb Python - MongoDB Limit (데이터 출력개수)
module Python - random 모듈 메서드 종류
module Python - random.seed() 메서드 - 난수 생성기 초기화 (= seed메서드 = 시드)
module Python - random.getstate() 메서드 - 난수 생성기 현재 상태 반환. (= getstat…
module Python - random.setstate() 메서드 - 난수 생성기 상태 복원. (= setstate메서…
module Python - random.getrandbits() 메서드 ★ - 지정 bit 크기의 정수 반환. (= g…
module Python - random.randrange() 메서드 ★★ - 지정 범위 안에서 정수형 난수 반환. (=…
module Python - random.randint() 메서드 ★★ - 지정 범위 안 int형 난수 생성. (= ra…
module Python - random.choice() 메서드 ★★ - 요소 랜덤 반환. (= choice메서드 = 초…
module Python - random.choices() 메서드 - 가중치 반영해 랜덤 요소 반환. (= choices…
module Python - random.shuffle() 메서드 ★★ - 요소 순서 뒤섞기. (= 순서 랜덤 = shu…
module Python - random.sample() 메서드 ★ - 일부 요소 랜덤 선택. (= sample메서드 =…
module Python - random.random() 메서드 ★ - 0 ~ 1 사이 부동소수 랜덤 반환. (= ran…
module Python - random.uniform() 메서드 ★ - 지정 범위 안 랜덤 부동소수 반환. (= uni…
module Python - random.triangular() 메서드 - 지정 범위 안 가중치 반영 랜덤 부동소수 반환…
5/32
목록
 홈  PC버전 로그인 일본어
그누앞단언어
그누뒷단언어
그외코딩언어
그누보드
제작의뢰
Q&A
커뮤니티 2
웹유틸
회원센터
홈짱닷컴 PC버전 로그인