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

Bug: post data #2

Closed
XxLittleCxX opened this issue Feb 16, 2024 · 0 comments
Closed

Bug: post data #2

XxLittleCxX opened this issue Feb 16, 2024 · 0 comments

Comments

@XxLittleCxX
Copy link

https://github.com/cordiverse/undios/blob/816a41eff44306574aa319443bf406305f825227/packages/core/src/index.ts#L211-L213

看上去没有加入 post 以及其他 method 的 data?

const init = { method, headers: config.headers, signal: controller.signal, body: config.data };

我粗略改了下,这样是可以发送数据的

@shigma shigma closed this as completed in 6dd109e Feb 16, 2024
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

1 participant