摘要:
import urllib.parse import requests #调用机器人接口 def qingyunke(msg): url = "http://api.qingyunke.com/api.php?key=free&appid=0&msg=%s" % (urllib.parse.quot 阅读全文
posted @ 2022-12-23 09:22
乐乐乐乐乐乐樂
阅读(46)
评论(0)
推荐(0)
摘要:
import jwt #加密 encode_jwt = jwt.encode({'uid':'123'},'123',algorithm='HS256') print(encode_jwt) #解密 #强转 encode_jwt = str(encode_jwt) decode_jwt = jwt. 阅读全文
posted @ 2022-12-23 09:14
乐乐乐乐乐乐樂
阅读(127)
评论(0)
推荐(0)
摘要:
import requests import hashlib #测试文件上传 files = {'file':('touxiang.png',open('c:/touxiang.png','rb'))} res = requests.post('http://localhost:8000/uploa 阅读全文
posted @ 2022-12-23 09:05
乐乐乐乐乐乐樂
阅读(25)
评论(0)
推荐(0)

浙公网安备 33010602011771号