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

HTTP 请求使用fetch部分平台不支持,建议修改文档给新手提示 #2898

Open
dadidzf opened this issue May 8, 2024 · 1 comment

Comments

@dadidzf
Copy link

dadidzf commented May 8, 2024

URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/advanced-topics/http.md

如题:Creator3.7.3实测,抖音小游戏,使用苹果手机测试,并不能支持fetch这样的接口。应该给新手提示 :用xhr,或者直接使用抖音小游戏api:tt.request。

抖音api文档:https://developer.open-douyin.com/docs/resource/zh-CN/mini-game/develop/api/network/initiate-a-request/tt-request

@MrKylinGithub
Copy link
Contributor

建议很好,这就重写。

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