GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
httprequest works only first time
httprequest works only first time
Iniciado por jan, fev., 23 2017 3:42 PM - 3 respostas
Conecte-se…
jan
#1
Publicado em fevereiro, 23 2017 - 3:42 PM
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
Denunciar
0
0
Fabrice Harari
#2
Publicado em fevereiro, 23 2017 - 7:49 PM
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
Denunciar
0
0
jan
#3
Publicado em fevereiro, 24 2017 - 11:49 AM
Thnx for the answer, but it doesn't make any difference ?
Denunciar
0
0
Fabrice Harari
#4
Publicado em fevereiro, 24 2017 - 2:22 PM
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 ?
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto