GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Webhook
Webhook
Iniciado por Lukas, set., 01 2017 3:13 PM - 4 respostas
Conecte-se…
Lukas
#1
Publicado em setembro, 01 2017 - 3:13 PM
Hi,
How can I handle a Post Request to my dynamic page and read the entire body ?
I'm struggling around with pageparameter, but I'm unable to read the content of the post request.
Denunciar
0
0
Fabrice Harari
#2
Publicado em setembro, 01 2017 - 8:03 PM
Hi
as stated in the help:
myBuffer is buffer=pageparameter(paramBuffer)
I'm using this in WXReplication, and there is really nothing more to it.
If you have a specific problem, post your code and errors
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 9/1/2017 à 7:13 AM, Lukas a écrit :
Hi,
How can I handle a Post Request to my dynamic page and read the entire
body ?
I'm struggling around with pageparameter, but I'm unable to read the
content of the post request.
Denunciar
0
0
Lukas
#3
Publicado em setembro, 02 2017 - 8:13 AM
I found the problem, if you trying to read content with mime type application/json you have to specify pageparameter(1) instead of pageparameter(parambuffer).
Denunciar
0
0
Fabrice Harari
#4
Publicado em setembro, 02 2017 - 11:59 PM
Then you are NOT using post mode.
Le 9/2/2017 à 12:13 AM, Lukas a écrit :
I found the problem, if you trying to read content with mime type
application/json you have to specify pageparameter(1) instead of
pageparameter(parambuffer).
Denunciar
0
0
billg
#5
Publicado em julho, 22 2019 - 11:05 AM
Et poutant si ! j'ai le meme problème avec les notifications PUSH des API rest outlook de Microsoft qui appelle bien ma page avec un content-type application/json et le pageparametre(parambuffer) etait vide.... en utilisant pageparametre(1) j'ai bien le contenu avec un caractére en plus a la fin ("=") que j'enlève pour avoir une chaine JSON valide.
Bizarre le comportement de webdev sur ce point.
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