-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
How to send ArrayBuffer #229
Comments
Hi, you want to use the The caveat is that by using this option you cannot use One feature that would allow submitting buffers directly in the POST upload would be to add support for However, currently there is no support for this param, as can be seen here: node-libcurl/src/CurlHttpPost.cc Lines 23 to 50 in 6695c91
Adding support for that is not something I think I will do, as the |
Thanks, @JCMais for put attention on this query. I will try to implement as you suggested. Specific reason to sending buffer over HTTP API is: request payload is encoded via |
No problem, please let me know if you have any issues |
@pranavwani I've added an example showing how to send binary data, like in your specific scenario, sending protobuf encoded data: https://github.com/JCMais/node-libcurl/blob/develop/examples/19-binary-data-protobuf.js |
Thanks Jonathan for help. |
Description: How to send binary data, as Curl.option.POSTFIELDS
only allow sending
stringand
Curl.option.HTTPPOST` allow to sending the form dataRequest Payload:
The text was updated successfully, but these errors were encountered: