You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
}
});
The text was updated successfully, but these errors were encountered:
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)
}
});
The text was updated successfully, but these errors were encountered: