Find Jobs
Hire Freelancers

Different POST request elapse time

$10-30 USD

Fermé
Publié il y a environ 1 an

$10-30 USD

Payé lors de la livraison
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?
N° de projet : 35866993

Concernant le projet

5 propositions
Projet à distance
Actif à il y a 1 an

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
5 freelances proposent en moyenne $44 USD pour ce travail
Avatar de l'utilisateur
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 en 1 jour
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de UNITED STATES
Melbourne, United States
0,0
0
Membre depuis janv. 30, 2023

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.