I’m assuming that’s a security camera - it looks the sort of URL you get for Hikvision or similar cameras.
Do you need to be able to take a snapshot at a particular point in time, or do you just want to be able to see the pictures from your camera? If so, you probably don’t need to use curl - look at the generic IP camera component. You might also be able to use your camera as a generic MJPEG camera. In both cases, HA should grab an updated image every 10s, and clicking on the image should give you a live stream (certainly for MJPEG, not sure about IP, I haven’t used that one).
I wanna take a picture when my doorbell is ringing, then I make a camera pointing to that jpeg picture so I can see in HA who last did ring my doorbell.
I’ve certainly seen examples where people have grabbed images and used them for notifications - such as email attachments or for notification services that allow images. You can probably find examples if you search the forum.
As for getting it into the HA front end, I’m not sure. Ideally there’d be a persistent notification type that includes images, but I’m not aware of one. It might be possible to do something with the MQTT camera - the doorbell could trigger pushing the image to MQTT and the MQTT camera would show it in the front end.
Hopefully I’ll have time over the next couple of weeks to figure something out.
EDIT: doing a search I’ve found that someone’s beaten me to it - see this post by @robmarkcole - it looks like it covers what we need.
Yes, I’d forgotten local file. That could be even easier - on the doorbell ringing event trigger a command line script to grab a snapshot to a given location and expose it via the local file camera type.