How to check the outbound IP for Vantage

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;

mceclip1.png

After processing any file, in the skill monitor, it will show the IP address as an error message:

mceclip0.png

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.