axios.post() Files API: Upload doc encoded "base64" bytes, not decoded in Files Manager. Fix?
Problem:
Using method axios.post(), successfully upload encoded document contents as 'base64' to a remote File Manager. However, the uploaded document is still encoded as 'base64' in the remote File Manager.
Could you tell me what is typically required when submitting a method axios.post() request to ensure decoding 'base64' bytes to a properly formatted document during upload by remote service?
Code:
Typescript code using axios.post, uploading in FormData file using 'base64' bytes read from TXT file.