how to receive webhooks in ahk (endpoint)

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
ibieel
Posts: 216
Joined: 17 Oct 2021, 23:30

how to receive webhooks in ahk (endpoint)

Post by ibieel » 28 Jan 2022, 08:06

hey guys, is there a way to get webhooks by AHK?
I want to configure my computer to receive a webhook(JSON) via HTTPS. its possible?
could you send me code AHK examples that receive webhooks?

amateur+
Posts: 655
Joined: 09 Oct 2021, 15:43

Re: how to receive webhooks in ahk (endpoint)

Post by amateur+ » 28 Jan 2022, 10:31

Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.

User avatar
ibieel
Posts: 216
Joined: 17 Oct 2021, 23:30

Re: how to receive webhooks in ahk (endpoint)

Post by ibieel » 29 Jan 2022, 00:05

sorry if I'm asking too much or being lazy, I know everything is on the internet but I did a search and found it a bit complicated.
I understand how DownloadURL works, but implementing this in a webhook I can't understand.
do you have an example of a code that captures webhooks?
for me to use as a base

the part of interpreting the JSON I already have a library... I needed help to create a "listening webhook"

amateur+
Posts: 655
Joined: 09 Oct 2021, 15:43

Re: how to receive webhooks in ahk (endpoint)

Post by amateur+ » 29 Jan 2022, 01:17

Did you look at example#4 I gave you link to?
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.

malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Re: how to receive webhooks in ahk (endpoint)

Post by malcev » 29 Jan 2022, 08:12

amateur+ , You are not right, sending get request != webhook.
ibieel, for webhook You need webserver or some tunnel applications like ngrok or some online services like zapier.
It is not ahk question therefore Google is Your friend.

amateur+
Posts: 655
Joined: 09 Oct 2021, 15:43

Re: how to receive webhooks in ahk (endpoint)

Post by amateur+ » 29 Jan 2022, 16:47

Sorry, you're right.
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.

Post Reply

Return to “Ask for Help (v1)”