Rest asset logging


(Gavin) #1

Matrix Version: 5.5.3.3

Hi,

I would like to log when a rest asset is called and what comes back in the response.
I have had some success with triggers writing to the system log (using asset called event and rest response received event) but I cant get the response data for a rest response received event.

Any ideas, or is there a better way to log info about rest calls ?

Thanks.


(Bart Banda) #2

You could try and put the reponse data of the REST asset in a session var keyword and log that using %globals_session_X% using the trigger on REST response received?


(Gavin) #3

Ok thanks - will try that