Get the image link of ?action=snapshot

Hi,
I'm trying to set up home assistant with octoprint and xmpp. It is possible to send pictures with home assistant and therefor I want to send snapshots from octoprint.
According to this documentation it is possible. However when I enter the octopi snapshot url I won't get a picture. I tried it with the examples given from the documentation and they are working.

So my idea is that I provide a direct url to that image. Or do I miss something?

I figured it out on the home assistant end.