Detect http request from one place

Hello,


How could I do a server action or a client action that detects when an http request is made to the server.

Thanks

Hi Alejandro,

All requests, whether they are Traditional Web Requests or Screen Requests for Reactive Web, are already being logged and can be found in Service Center under the Monitoring menu.

Some information on this:

https://success.outsystems.com/Support/Enterprise_Customers/Troubleshooting/How_to_get_logs_for_troubleshooting_purposes

https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Monitor_and_Troubleshoot/View_the_Environment_Logs_and_Status#View_Logs

You can access this log data from your application by referencing the PlatformLog extension which is available as a dependency.

https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Monitor_and_Troubleshoot/Logging_database_and_architecture/Log_data_reference

Hope this helps.

Regards,

Nordin

Hi,

you can use too the action LogMessage from System:

Nordin Ahdi wrote:

Hi Alejandro,

All requests, whether they are Traditional Web Requests or Screen Requests for Reactive Web, are already being logged and can be found in Service Center under the Monitoring menu.

Some information on this:

https://success.outsystems.com/Support/Enterprise_Customers/Troubleshooting/How_to_get_logs_for_troubleshooting_purposes

https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Monitor_and_Troubleshoot/View_the_Environment_Logs_and_Status#View_Logs

You can access this log data from your application by referencing the PlatformLog extension which is available as a dependency.

https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Monitor_and_Troubleshoot/Logging_database_and_architecture/Log_data_reference

Hope this helps.

Regards,

Nordin

 

 Thanks, what I want is to intercept any http request with a single action from the server or the client 

Hi,

Are you looking for something like OnBeginWebRequest system event? This action is executed when the request is initiated on a Web Screen.

Hope this helps!

Junaid

Solution