Check HTTP Issue

Did you get this sorted? I’m trying to use the “Check HTTP web service” rules because the HTTP check you set up is deprecated and I simply cannot get obvious, simple things working with body string checks. All I want to do is go to http://api.ipify.org?format=txt and check the body content for the string 216.56.5.162 and it always says text not found.

1 Like

If i run your rule it will give a mismatch ( replacing your string with my IP).

However if i change the ‘search in body’ to regex with pattern (i tested it with my ip after looking at the response) for you it should be ^216\.56\.5\.162

The check is evaluated to OK:

Additional thing: i tested the output of the link you provided from a workstation, which has a proxy configured.
The output was a/my private IP, not the/my public IP, so be warned when this rule is running on a proxy’ed connection the outcome is different!

hope it helps.

  • Glowsome

@Sara maybe a good idea to split this into a new topic (as the original was marked as solved 6 months ago)

1 Like

@Glowsome splitting done :slight_smile:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.