We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Build environment: macOS, Moddable SDK version: 4.3.10-16-gb5dc9fe31 Target device: mac
Steps to Reproduce
mcconfig -d -m -p mac
curl -X POST -H "Content-Type: application/json" -d "{"key":"value"}" localhost/json
The log of body is undefined.
POST http://localhost/json host: localhost user-agent: curl/8.4.0 accept: */* content-type: application/json content-length: 11 undefined
Other information
I think options in Request is mismatch between body and requestPromise
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'm able to reproduce the behavior you describe We'll investigate.
Sorry, something went wrong.
Your analysis was correct! Change line 157 to:
const request = new Request(new URL(path, base), { method, path, headers, body:requestPromise });
We will include this in the next update. Thank you.
examples/io/listener/listen: #1298
b96fdf2
No branches or pull requests
Build environment: macOS,
Moddable SDK version: 4.3.10-16-gb5dc9fe31
Target device: mac
Steps to Reproduce
mcconfig -d -m -p mac
The log of body is undefined.
Other information
I think options in Request is mismatch between body and requestPromise
The text was updated successfully, but these errors were encountered: