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

unable to pass Optional action header field variables in upload action #11

Open
Vignesh291292 opened this issue Oct 26, 2018 · 0 comments

Comments

@Vignesh291292
Copy link

could you please help.how do pass Optional action header field variables in upload action

Optional action header field variables
Along with the standard action header content, the following optional fields can be included. Each must be appended to the end of the header, prefaced by an ampersand (“&”).

index-zip=2:
md5=[hash]..etc

ns.upload(local_source, netstorage_destination, (error, response, body) => {
if (error) { // errors other than http response codes
console.log(Got error: ${error.message})
}
if (response.statusCode == 200) {
console.log(body)
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant