How do I convert a base64 variable to a sendable file in javascript? I need to call a file upload API with the converted file as a parameter to the API.
Asked
Active
Viewed 241 times
0
-
Perhaps this question can help you? -> http://stackoverflow.com/questions/17710147/image-convert-to-base64 – Lars Juel Jensen Oct 21 '15 at 12:51
-
You can use this function to create file http://stackoverflow.com/a/31592969/5138198 – Alex Nikulin Oct 21 '15 at 13:09