django asynchronous api calls

STUCK with your assignment? When is it due? Hire our professional essay experts who are available online 24/7 for an essay paper written to a high standard at a reasonable price.


Order a Similar Paper Order a Different Paper

Create a Django project for asynchronous calls:

Create Django project, start an app and develop the views to make api asynchronous using asyncio. When user sends a post request to api, it should check the json request body and return https response as 200 ok. Then in the background it should divide the file(file details will be given in the request body) in to chunks(example chunk_size:10mb) and read. Once it is done with reading api should return a message as completed.

request json body:

{

“location” : “/home/ubuntu/readfile”,

“filename” : “/sample_file.txt”,

“chunk_size” : “10MB”

}

in the above json code should pick the file sample_file.txt from location and divide into chunks.

"Is this question part of your assignment? We can help"

ORDER NOW
Writerbay.net

Everyone needs a little help with academic work from time to time. Hire the best essay writing professionals working for us today!

Get a 15% discount for your first order


Order a Similar Paper Order a Different Paper