Plugin to post an attachment to an api

I’ve got a plugin I want to write to take attachments in an article, and send them to a sabnzbd server

I’ve found a plugin that gets inline attachments - I think I want that…and just need an example of something that posts to an API. I don’t know php, but can generally follow code.

Would anyone know a plugin that would send content to an external api? Bonus points if it’s an attachment (an image, or audio file or some such).

So basically any of the sharing plugins?

https://discourse.tt-rss.org/t/save-to-wallabag-plugin/2128

https://discourse.tt-rss.org/t/for-those-who-want-a-nice-button-for-instapaper-saving/2270/2

https://github.com/eko133/ttrss-instapaper-plugin/blob/master/init.php

Ahh I thought I’d looked at the wallabang one, but maybe I had only glanced over it…So that’s using curl for php…that looks pretty obvious.

Ok I’ll have a go. I assume in docker, and newer versions of tt-rss, I can put my plugin in plugins.local?

I’ve found a plugin that gets inline attachments - I think I want that

Can you please share which plugin was that?