A user sends a HTTP Post request to the web server. A callable function is triggered and executed when the HTTP Post request is successfully accepted into the web-server database.
This project is part of a Django web-server and all codes are written in python language.
I have written the code which sometimes executes successfully the callable function, but there is occasional timeout error at times. I suspect that it is due to incorrect usage of the asynchronous mode. The callable function makes use of the 'ib_insync' library which is a wrapper that provide ease of use for I/O communication between any system and Interactive-Broker's API ([login to view URL]).
Accordingly ib_insync document, the library has a asynchronous: mode - All async methods that have the “Async” postfix, and it is implemented as coroutines or methods that return a Future.
Attached are the following:
1. Function to be executed upon successful POST request ([login to view URL]). The function is working when executed independently (perhaps cos it is synchronous mode) but may require minor modifications to ensure full asynchronous mode when running with the web-server. The function imports ib_insync which has an asynchronous framework ([login to view URL])
2. A simple Django web-server project that has REST api. The function in item 1 is to be executed when a successful POST request is made ie. http POST [login to view URL] "Authorization: Token d89349ee042f80b2e6b1d3304696a910442f3526" title="Hello-1" genre="World-1" year=2018.
I need assistance on the following:
1. Make changes on the function to ensure fully asynchronous mode.
2. Make changes Django project i.e. movies->[login to view URL] that calls the function when a successful POST request is made to the web-server.
⭐⭐⭐ Hi, Dear client. ⭐⭐⭐ How are you Doing, Hope you are doing Great. I believe you still searching for Freelancer to handover your highly desirable work. I am sure i can take that Highly valuable Work and Finish on Ti Daha Fazla
Bu iş için 4 freelancer ortalamada $173 teklif veriyor
Hello, Sir! Having read your project details and attachments, I had a confidence that I can handle this job. Let's discuss timeline and budget via chat. Looking forward to hearing from you. Best regards.