Skip to content

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

Description

@Vignesh291292

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)
}
});

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions