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

webHook调用时提交的content-type为text而非json #54

Open
QiaoKes opened this issue Oct 16, 2022 · 1 comment
Open

webHook调用时提交的content-type为text而非json #54

QiaoKes opened this issue Oct 16, 2022 · 1 comment

Comments

@QiaoKes
Copy link

QiaoKes commented Oct 16, 2022

影响: 使用python的fastapi作为webhook服务端,无法加载正确的类型
image

@hanshou101
Copy link

hanshou101 commented Feb 1, 2023

昂是的,我也遇到了这个问题。

所以我必须加上:【app.use(express.text())】。 ( 基于NodeJS的 )

参考链接在:https://stackoverflow.com/a/66270112/6264260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants