1 Star 0 Fork 0

ww/CnodeApiTest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
demo.py 534 Bytes
一键复制 编辑 原始数据 按行查看 历史
ww 提交于 2021-05-06 17:21 +08:00 . CnodeAPITested
# coding=utf8
import requests
topic_data ={
"accesstoken": '9806e7cb-beb0-45ed-aab6-2a84ec903ec5',
"title": "zwwwwwwwwwwwwwwwwwz",
"tab": "ask",
"content": "软件测试自动化接口"
}
# url = 'http://47.100.175.62:3000/api/v1/topics'
# # 'Content-Type': 'application/json; charset=utf-8' 如果是json就是json而不是data
# r = requests.post(url=url,data=topic_data)
# print(r.status_code)
# print(r.json())
# print(r.headers)
url = 'http://218.244.141.196:8090/'
r1 = requests.get(url)
print(r1.status_code)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zww308/CnodeApiTest.git
[email protected]:zww308/CnodeApiTest.git
zww308
CnodeApiTest
CnodeApiTest
master

搜索帮助