N
N
NikClik2018-11-25 23:12:27
Django
NikClik, 2018-11-25 23:12:27

How to give a file from the server for download to the user?

I need to give the user a zip file for download, and this file should be placed in the response, and as soon as I receive this response on the front, I suggest the user to download it. Front - vue.js, back - django rest framework. Can you please tell me how to implement it on one side and on the other?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2018-11-25
@NikClik

https://docs.djangoproject.com/en/2.1/ref/request-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question