django asynchronous api calls

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.