为什么我的请求失败
#105
Replies: 2 comments 5 replies
-
检查一下有没有 |
Beta Was this translation helpful? Give feedback.
3 replies
-
看起来像ws的body |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我向onebot发送了一串json:
{
"action": "send_private_msg",
"params": {
"user_id": 2961354039,
"message": "你好"
},
"echo": "123"
}
但是onebot回复是:
“HTTP/1.1 400 Bad Request
Connection: close
”
1400: 如果 POST 请求的正文格式不正确,状态码为 400
Beta Was this translation helpful? Give feedback.
All reactions