Best way to share sensor data

I have used http://[IP]/api/states/[sensor] to read sensor data.
But after update to version 101.2, it seams more or less impossible to use the new authentication mechanism with token, so I can’t read data via http any more.

So my question is: What is the best way to get sensor data from Home Assistant (hass.io)?

Please also provide a small guide, I am a newbie to Home Assistant and hass.io.