Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Robert Chanphakeo
0
Views
5
Comments
Reading the HTTP Body
Question
Is there an extension that you can use to read the HTTP body and phase the content into a variable?
Example:
When the following page is loaded
https://domain1.com/WebScreen.aspx
It displays the following plaintext in the html body.
item1=abc&item2=xyz
How do you have outsystem load
https://domain1.com/WebScreen.aspx
and read the plaintext item1=abc&item2=xyz and assign the value into a variable.
João Portela
Staff
Hi Robert,
Extension HTTPRequestHandler (packed with the
Enterprise Manager solution
) has some actions asGetRequestContent, GetRequestFiles, GetRequest_AddArgument, etc. Are these enhouth?
Regards,
João Portela
Robert Chanphakeo
GetRequestContent would get content from an external page, https://site.com/contentpage.aspx
?
João Portela
Staff
Hi,
I think GetRequestContent will retrun the content of the current request.
If you want to get the body of "other" request, can't you use RichMail.HttpGet() to get the entire response and strip the body part?
Regards,
João Portela
J.
MVP
I don't understand what you trying to achieve?
Is it possible to place it in a named div?
The content you are reading looks like url-parameters, so why is it in the body?
Robert Chanphakeo
@João thanks that works!
@Joost it needs to be done this way, to follow the specification provided.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...