We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发送请求 报错:{"code": -6, "msg": "invalid path info"}
{"code": -6, "msg": "invalid path info"}
将程序中的 if path_info == "/": 改为 if True: 来尝试跳过此问题。
if path_info == "/":
if True:
再次发送相同请求 报错:{"code": -1, "msg": "invalid json input"}
{"code": -1, "msg": "invalid json input"}
日志
FC Invoke Start RequestId: 1-64dd3eef-ba945220b77ec629e29c7ed9 2023-08-17 05:26:07 1-64dd3eef-ba945220b77ec629e29c7ed9 [INFO] request body: 2023-08-17 05:26:07 1-64dd3eef-ba945220b77ec629e29c7ed9 [INFO] path_info: None None FC Invoke End RequestId: 1-64dd3eef-ba945220b77ec629e29c7ed9
发送请求
# python import requests import json url = "http://x.xxx:5039/" headers = { "Content-Type": "application/json" } data = { "sendkey": "x", "msg_type": "markdown", "msg": "Markdown Here!" } response = requests.post(url, headers=headers, data=json.dumps(data)) if response.status_code == 200: print("POST request sent successfully!") print("Response:") print(response.text) else: print("Failed to send POST request. Status code:", response.status_code)
回复:bad params
我的操作有问题吗,为什么会这样?
The text was updated successfully, but these errors were encountered:
我很❤喜欢❤这个项目,它对我很重要🍰:推送NAS的番剧下载情况。希望大佬给小白指点迷津。🧐
Sorry, something went wrong.
No branches or pull requests
复现
按 阿里云云函数搭建说明 完成部署
发送请求
报错:
{"code": -6, "msg": "invalid path info"}
将程序中的
if path_info == "/":
改为if True:
来尝试跳过此问题。再次发送相同请求
报错:
{"code": -1, "msg": "invalid json input"}
日志
按 PHP版搭建说明 完成部署
发送请求
回复:bad params
我的操作有问题吗,为什么会这样?
The text was updated successfully, but these errors were encountered: