Webhook Shortcut on Desktop

Hello, this is my first post here and I’m pretty new to this stuff so please be a little lenient with me :sweat_smile:. I’m looking to be able to use a shortcut/batch file or something like that to trigger a webhook from my windows desktop. I already set up a webhook, but all the commands I’ve found online for shortcuts and batch files don’t seem to work and do nothing or give me a 405 error. If anyone could help me that would be appreciated, and I might end up going to sleep soon but I’ll check back in tomorrow if I go inactive. Thanks!

I ended up screwing around and finding out how to do it. If anyone else is having this issue I just made a modified version of the code in the docs here, but I have no clue if its the best way to do it. I just threw it in a batch file to run it. C:\what ever your path to curl is\curl.exe -X POST http://homeassistant.local:8123/api/webhook/yourwebhook