G
G
gooseNjuice()2022-03-17 10:12:39
Node.js
gooseNjuice(), 2022-03-17 10:12:39

For the server to take the file from a third party and transfer it to the client?

Guys, for a very long time I can not solve the following problem:
I have an ExpressJS server running. It has a '/' POST route. When accessing it, it parses the req.body.path passed from the client (a link to a file that is somewhere on a third party, for example, https://pool.apk.aptoide.com/rmota/cm-aptoide-pt -1... ).
Further, I want him to take the file from this link and give it to the client so that on the client side it can be substituted into . How it is better to implement it? I stupefy very much (

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question