小D-新版接口自动化教程- http 请求 Requests 实战

liping / 2023-05-06 / 原文

 

# -*- coding: UTF-8 -*-

import requests


response = requests.get("https://www.baidu.com")

print(response.text)