Been struggling with this one, so I need to make a post request to Azure Zip Deploy to get my app there, went from errors such as credentials wrong (fixed) to now where it states
axios({
headers: { "Content-Type": "'application/json'" },
method: "post",
url: 'https://test.scm.azurewebsites.net/api/zipdeploy',
auth: {
username: '',
password: ''
},
body: {
file: filePath
}
});
Errors I get
Message: 'An error has occurred.',
ExceptionMessage: 'An attempt was made to move the file pointer before the beginning of the file.\r\n'
Central Directory corrupt


