How to Get the UserAgent in OutSystems Web Application ?

Your 2020 Plan. Learn 20 minutes a day for 20 days. Online courses from €9.99.

When working with the API’s , there are times when you might want to transfer the UserAgent from your Web Application. You can easily retreive the UserAgent from your Web Application developed with OutSystems using the GetUserAgent() method defined in the Environment .

image

The GetUserAgent() returns the user agent, as indicated by the header of the HTTP message.

Output :

image

Leave a Reply

Your email address will not be published. Required fields are marked *