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
curl localhost:13037 \ -X POST \ --data '[{ "method": "getrawtransaction", "params": ["5f5f9167fb5dbef837976eb80d7c598ace3e792b976813ec22f90f71cc1cf922", true] }]'
response with
{ "error": { "message": "Not found." } }
Maybe there should be something like this in /lib/node/http.js initRouter function:
/lib/node/http.js
initRouter
this.use(async (req, res) => { if (req.method === 'POST' && req.path.length === 0) { if (Array.isArray(req.body)) { // Do something }; }; });
The text was updated successfully, but these errors were encountered:
@LanfordCai thanks for finding this bug! I've traced the cause to the bweb library and have opened a PR fixing the issue.
bweb
Sorry, something went wrong.
This bug has been fixed in bweb, so I would close this issue. @boymanjor
Successfully merging a pull request may close this issue.
response with
Maybe there should be something like this in
/lib/node/http.js
initRouter
function:The text was updated successfully, but these errors were encountered: