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

怎么调用api从服务器获取数据 #3

Open
poweel opened this issue Mar 6, 2020 · 3 comments
Open

怎么调用api从服务器获取数据 #3

poweel opened this issue Mar 6, 2020 · 3 comments

Comments

@poweel
Copy link

poweel commented Mar 6, 2020

一般web应用都会从服务器获取一些数据,还可能会提交一些表单,这方面awtk-web是怎么做的?

@xianjimli
Copy link
Member

目前可以用这个函数:https://emscripten.org/docs/api_reference/fetch.html

@xianjimli
Copy link
Member

我看看能不能提供一个统一的 API。

@xianjimli
Copy link
Member

你参考一下:https://github.com/zlgopen/awtk-http-client

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