When trying to upload a certificate image using the node client i get the following error message:
code: 'InvalidRequestContentType',
target: 'HttpRequest',
details: [
{
code: 'InvalidRequestContentType',
number: 1217,
message: 'The request content type is invalid.',
description: "The request content type must be either 'multipart/form-data' or empty string.",
faultCode: 'Client',
helpLink: 'http://developer.avalara.com/avatax/errors/InvalidRequestContentType',
severity: 'Error'
}
]
it looks like the rest client is always set to send application/json
When trying to upload a certificate image using the node client i get the following error message:
it looks like the rest client is always set to send
application/json
i have had to handle this manually: