PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
How to return a result in an http post page?
How to return a result in an http post page?
Started by Gautam, Oct., 12 2017 8:17 PM - No answer
Connect yourself…
Gautam
#1
Registered member
67 messages
Posted on October, 12 2017 - 8:17 PM
Hello all
How do you return a response in an http post page in webdev?
For example, I call a Test http post page as follows, the result is always blank. No error code is raised.
IF HTTPRequest("
http://localhost/MYSITE_WEB/UK/PAGE_Test.awp
") = true then
sResult = HTMLToText(HTTPGetResult(httpResult))
ELSE
Error(ErrorInfo(errFullDetails))
END
The Page_Test.awp page has only one line of code in the initialization section of the page as follows:
RESULT "This is the response"
What code should I write in the Page_Test.awp page so that the httpgetresult contains the "This is the response" result. Or perhaps I have to change something on httpgetresult statement?
It looks like something simple but I am totally lost!
What am I doing wrong?
Gautam
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