Question
With the custom activity script, how can the outbound IP be checked?
Answer
In the custom activity apply the following script:
// Get Auth Token
var tokenRequest = Context.CreateHttpRequest();
tokenRequest.Url = `http://icanhazip.com`;
tokenRequest.Method = "GET";
tokenRequest.Send();
Context.ErrorMessage = tokenRequest.ResponseText;
After processing any file, in the skill monitor, it will show the IP address as an error message:
Comments
0 comments
Please sign in to leave a comment.