How to Get the UserAgent in OutSystems Web Application ?

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 *