RocketMap icon indicating copy to clipboard operation
RocketMap copied to clipboard

Multiple Webhook help

Open afairgiant opened this issue 10 years ago • 7 comments

I have one webhook setup for pokelyzer and i was trying to setup a second webhook for the pokealarm. I tried doing "-wh pokelyzer -wh pokealarm" when I run my scanner but when I did that neither webhook received any data, is there a way to get 2 seperate webhooks to work simultaneously or am I messing something up?

They do work when I use them individually though.

Your Environment

  • Version used: Dev
  • Environment name and version (e.g. Python 2.7): Python 2.7
  • Operating System and version (desktop or mobile): Windows 7 Desktop

afairgiant avatar Aug 08 '16 17:08 afairgiant

I believe you do -wh address1 address2

chuyskywalker avatar Aug 08 '16 18:08 chuyskywalker

looks like that did the trick thank you very much!

afairgiant avatar Aug 08 '16 19:08 afairgiant

duplicate of #157

j16sdiz avatar Aug 10 '16 09:08 j16sdiz

Someone should update the docs, I just read today that I was to do -wh address1 -wh address2

khag7 avatar Aug 11 '16 03:08 khag7

-wh address1 address2 works, but config.ini does not work:

webhook: http://127.0.0.1:7000 http://127.0.0.1:7001 webhook: "http://127.0.0.1:7000 http://127.0.0.1:7001"

both variant's don't work

neutron666 avatar Sep 04 '16 07:09 neutron666

i think you have to declare it as array: webhook: [proxy, proxy]

see the doc for multi accounts in config.ini here: https://pgm.readthedocs.io/en/develop/extras/multi-account.html?highlight=config

ghost avatar Sep 04 '16 08:09 ghost

Does not work either :(

webhook: [http://127.0.0.1:7000, http://127.0.0.1:7001]

runserver.py: error: webhook can't be set to a list '[http://127.0.0.1:7000, http://127.0.0.1:7001]' unless its action type is changed to 'append'

neutron666 avatar Sep 04 '16 09:09 neutron666