Find Jobs
Hire Freelancers

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

$30-250 SGD

진행 중
게시됨 4년 이상 전

$30-250 SGD

제출할때 지불됩니다
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.
프로젝트 ID: 21553528

프로젝트 정보

2 제안서
원격근무 프로젝트
활동 중 5년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
2 이 프로젝트에 프리랜서들의 평균 입찰은 $195 SGD입니다.
사용자 아바타
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 10일에
5.0 (2 건의 리뷰)
2.2
2.2

고객에 대한 정보

국기 (SINGAPORE)
Singapore, Singapore
5.0
1
결제 수단 확인
8월 26, 2016부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.