K
K
Kirill Makarov2020-09-23 16:56:30
React
Kirill Makarov, 2020-09-23 16:56:30

When requested, BASE64 comes up, do I need to download it using react?

When requested, BASE64 comes in, I need to download it using react. I
looked at various libraries, there are ones that allow you to download pictures, there are for pdf. In my case, any of the following types doc, docx, xls, xlsx, pdf, txt, ppt, pptx can come.
Is there any universal solution to download the file via BASE64 immediately

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-09-23
@hzzzzl

if the file extension/format is known in advance, then something like this should happen
https://stackoverflow.com/a/33076855

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question