Trigger Function That Executes Upon Success REST Post HTTP Request Is Made

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.

Thank You.

Beceriler: Python, Django

Daha fazlasını gör: aspnet post http request, post http request cnet, build post http request, rest api post example java, how to send post request to rest api, rest api delete example, rest api delete example java, rest api put example java, rest api post example, rest post example, how to insert data into database using restful webservice in java, accept post http request vbnet, php rest post file, post http request net, php rest post, mysql trigger function, class post http request, post http request php xml, async post http request, iphone post http request parameters

İşveren Hakkında:
( 1 değerlendirme ) Singapore, Singapore

Proje NO: #21553528



⭐⭐⭐ 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

%selectedBids___i_period_sub_7% gün içinde 200%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(53 Değerlendirme)

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.

$250 SGD in 10 gün içinde
(1 Yorum)

Dear Client! I read your description carefully and i'm very interested in your project. I am specialized in python for Django. And i can do it by using PostMan. I am very familiar with HTML5, CSS3, and any javascript l Daha Fazla

$100 SGD in 3 gün içinde
(4 Değerlendirme)

Hello, ✅**I'm an enthusiastic PYTHON DEVELOPER with many years of industry experience in all aspects of Python development and willing to help you with your mentioned requirements**. **I’m ready to start work right aw Daha Fazla

$140 SGD in 7 gün içinde
(0 Değerlendirme)