PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Webhook
Webhook
Started by Lukas, Sep., 01 2017 3:13 PM - 4 replies
Connect yourself…
Lukas
#1
Posted on September, 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.
Report
0
0
Fabrice Harari
#2
Posted on September, 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.
Report
0
0
Lukas
#3
Posted on September, 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).
Report
0
0
Fabrice Harari
#4
Posted on September, 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).
Report
0
0
billg
#5
Posted on July, 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.
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text