I'm trying to query a value in JSON with an HTTP XML REST sensor. The queried URL returns the value without login: message "Only authenticated users can access the REST API." I expect and want to test that. However, the sensor expects a successful login and returns: Expected Status 200 OK, but 401 Unauthorized. Can I move the sensor to reflect the specified JSON value without logging into the website? The whole thing is to check if the API of a WordPress website is open without logging in.
I hope I have expressed myself clearly.