摘要: python post测试 import requests # 设置请求的URL url = 'http://example.com/api/post' # 准备要发送的数据,这里假设有一个中文字段'name' data = { 'name': '张三', # 中文名字 'age': 30 } # 阅读全文
posted @ 2024-03-14 21:23 西北逍遥 阅读(18) 评论(0) 推荐(0) 编辑