Requests is an elegant and simple HTTP library for Python, built for human beings. 기본 형태 1 2 3 4 5 6 import requests response = requests.get(URL) response.text # TEXT 값 response.status_code # HTTP 상태 코드 response.json() # 반환값 JSON 파싱 URL로 파라미터 패싱 1 2 payload = {'key1': 'value1', 'key2': 'value2'} r = requests.get(url, params=payload) Timeout 설정 * 단위는 sec 1 2 3 4 5 6 7 try: requests.post(url, data..