Skip to content
New issue

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

qiandao调用pushover的一点经验 #555

Open
4 tasks done
icaca opened this issue Nov 6, 2024 · 0 comments
Open
4 tasks done

qiandao调用pushover的一点经验 #555

icaca opened this issue Nov 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@icaca
Copy link

icaca commented Nov 6, 2024

Verify steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Need 当前 QD 框架并不包含该功能特性或者还不完善
  • Framework 这是 QD 框架应包含的特性,并非模板特性
  • Meaningful 我提交的不是无意义的 催促更新或修复 请求

Describe the Feature

刚开始一直用的POST+application/x-www-form-urlencoded
用了几天发现单个的失败会通知,但是汇总一直没有,排查日志发现有4xx的错误。
然后经过测试,urlencode相关的函数都用不了,然后又查了pushover和qiandao的文档。最后发现可以发送json格式,终于完美解决。

Describe the solution

POST+application/json

{"token":"自己替换","user":"自己替换","html":1,"message":"{log}"}

Describe alternatives

No response

Additional context

No response

@icaca icaca added the enhancement New feature or request label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant