Re: How to convert base64 file into docx/pdf file?
Likewise. I'm running an HTTP GET request which returns file attachment content encoded in base64 format. This returns and object similar to the OP's post above:
{
"content-type": "application/pdf",
"$content": "Base64String"
}
When I use this object to create a file in OneDrive, the pdf is created, but seems corrupted. I get an error message stating: "Error:Failed to load PDF document."