FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Webhook
Webhook
Débuté par Lukas, 01 sep. 2017 15:13 - 4 réponses
Connectez-vous…
Lukas
#1
Posté le 01 septembre 2017 - 15:13
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.
Signaler
0
0
Fabrice Harari
#2
Posté le 01 septembre 2017 - 20:03
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.
Signaler
0
0
Lukas
#3
Posté le 02 septembre 2017 - 08:13
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).
Signaler
0
0
Fabrice Harari
#4
Posté le 02 septembre 2017 - 23:59
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).
Signaler
0
0
billg
#5
Posté le 22 juillet 2019 - 11:05
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.
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