FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
httprequest works only first time
httprequest works only first time
Débuté par jan, 23 fév. 2017 15:42 - 3 réponses
Connectez-vous…
jan
#1
Posté le 23 février 2017 - 15:42
I m sending a request to an arduino
HTTPParameter(httpParameterMode,0)
HTTPRequest(gsGateURL + gsOn)
Wait(20)
HTTPRequest(gsGateURL + gsOff)
HTTPParameter(httpParameterMode,1)
When i'm using this code the second time, it doesn't work anymoe
P.S. de httparametermode needs to be reset to 1 after excuting because of requests to dynamics nav
It works before compiling, after compiling and use on windows CE it reacts like subscribed above
Signaler
0
0
Fabrice Harari
#2
Posté le 23 février 2017 - 19:49
Hi
Your code does not manage the answer from the server. You should test
the result of httprequest and use httpgetresult to see what's going on
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 2/23/2017 à 9:42 AM, jan a écrit :
I m sending a request to an arduino
HTTPParameter(httpParameterMode,0)
HTTPRequest(gsGateURL + gsOn)
Wait(20)
HTTPRequest(gsGateURL + gsOff)
HTTPParameter(httpParameterMode,1)
When i'm using this code the second time, it doesn't work anymoe
P.S. de httparametermode needs to be reset to 1 after excuting because
of requests to dynamics nav
It works before compiling, after compiling and use on windows CE it
reacts like subscribed above
Signaler
0
0
jan
#3
Posté le 24 février 2017 - 11:49
Thnx for the answer, but it doesn't make any difference ?
Signaler
0
0
Fabrice Harari
#4
Posté le 24 février 2017 - 14:22
It won't make any difference in the behavior, but sutdying the returned
answers may tell you what's going on...
Now, without seing neither your code nor the answers received, I canno't
tell you more than that
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 2/24/2017 à 5:49 AM, jan a écrit :
> Thnx for the answer, but it doesn't make any difference ?
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte