Find Jobs
Hire Freelancers

Different POST request elapse time

$10-30 USD

Imefungwa
Imechapishwa about 1 year ago

$10-30 USD

Kulipwa wakati wa kufikishwa
Hi I have a website need to log in with the python requests library. After getting an Authenticity Token by sending GET requests, I use the POST method to post payloads and login to the website. The elapsed time of POST is around 1 sec. After login there is a calendar to book an appointment. So we use the POST method again to send data to a server in order to book. The elapsed time POST method now is 4 times greater than login page. I want to know if it is normal or if something goes wrong I need the fastest method to send data through POST method. Is there any other way ( other python libraries) that can login and book faster?
Kitambulisho cha mradi: 35866993

Kuhusu mradi

5 mapendekezo
Mradi wa mbali
Inatumika 1 yr ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
5 wafanyakazi huru wana zabuni kwa wastani $44 USD kwa kazi hii
Picha ya Mtumiaji
The elapsed time of a POST request depends on many factors, including the size of the payload, the complexity of the server-side processing, network latency, and the current traffic on the server. An increase in elapsed time from 1 second to 4 seconds could indicate a problem with the server, such as increased traffic or a slow processing algorithm. However, it could also be normal if the payload being sent in the second request is larger or more complex than the payload in the first request. To optimize the speed of the POST requests, you can try the following: Minimize the size of the payload by only sending the necessary data. Compress the payload before sending it. Use a faster network connection. In terms of other libraries that could be faster, it ultimately depends on the specific implementation and use case. Some alternative libraries for making HTTP requests in Python include httplib, httplib2, and treq. You could try experimenting with these libraries to see if they provide any performance improvements, but without a specific use case and more information, it is difficult to make any specific recommendations.
$10 USD ndani ya siku 1
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya UNITED STATES
Melbourne, United States
0.0
0
Mwanachama tangu Jan 30, 2023

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.