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
如题,这样可以方便调试
The text was updated successfully, but these errors were encountered:
URL只要遵守通用规范即可 , 很容易调试
通用规范
需要注意的点
//例如 https://api.day.app/key/title/{推送内容} //如果{推送内容}是 "a/b/c/" //则最后的URL是 https://api.day.app/key/title/a/b/c/ //将找不到对应的路由,后端程序将返回404
URL出现问题 显示其出问题的部分不好实现
URL如果拼错了,请求就到不了服务器
要么到了服务器,但是路由匹配错了,这时也需要你自己根据结果去判断是不是出问题了 你本来想匹配 A 路由,但是写错了匹配到了B路由, 这时服务器不能确定你是搞错了,只会当成你成功请求了B。这是一个正常的成功的请求,不存在错误
A
B
参数错了,在返回的json response 中有具体的错误原因
访问了不存在的路径,根据http 状态码即可知道
Sorry, something went wrong.
是这样的,我在尝试用 IFTTT 的 Webhook 来推送,这样的话涉及到对请求的编码问题,所以会比较难调试。。。
No branches or pull requests
如题,这样可以方便调试
The text was updated successfully, but these errors were encountered: