Find Jobs
Hire Freelancers

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

$30-250 SGD

In Progress
Posted over 4 years ago

$30-250 SGD

Paid on delivery
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.
Project ID: 21553528

About the project

2 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $195 SGD for this job
User Avatar
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 days
5.0 (2 reviews)
2.2
2.2

About the client

Flag of SINGAPORE
Singapore, Singapore
5.0
1
Payment method verified
Member since Aug 26, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.