Answer the question
In order to leave comments, you need to log in
How to send front-end generated pdf to react server?
I am generating a pdf on the front using the react-pdf lib, I need to make it so that when you click on the download button, the pdf file is simultaneously downloaded and sent to the server for storage. Problems with sending to the server, there is very little information on the Internet, plus there is not a word about it in the react-pdf docs.
UPD
understood that it is possible to send a file after downloading (locally), but are there other ways, for example, via a blob like that, because when generating a pdf file, it also appears on the front,
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question