Commit 459be8c1 authored by Gladys Forte's avatar Gladys Forte

Merge pull request #57 in RMS/api-main-service from gladys-develop to dev

* commit 'bc9f5a13':
  fix download api
parents c1660b31 bc9f5a13
......@@ -98,6 +98,6 @@ class Download(APIView):
def post(self, request, **kwargs):
print("hello")
req = requests.get(request.body.get("url"))
req = requests.get(request.data.get("url"))
print(req)
return FileResponse(req, as_attachment=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment