Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook definition #35

Open
Coolawy opened this issue Aug 4, 2023 · 0 comments
Open

Webhook definition #35

Coolawy opened this issue Aug 4, 2023 · 0 comments

Comments

@Coolawy
Copy link

Coolawy commented Aug 4, 2023

Hi
I wanted to configure alarmserver to send a webhook to Synology Surveilence Station after getting alarm from a camera but I have a problem with webhook definition.

Synology Surveilence Station is preparing the webhook in below form:
http://192.168.3.6:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token="uNYyGCJD4ffe3rnuC1SZGDR0i3biFsc9g5nprfef8eSpP1vzTNgdFjvw6og0Qyu5"

I tried to configure it i several ways:

  • using whole URL like above
  • splitting it:
    webhooks:
    enabled: true
    items:
    • url: "http://192.168.3.6:5000/webapi/entry.cgi"
      method: "POST"
      headers:
      • "api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token="uNYyGCJD4ffe3rnuC1SZGDR0i3biFsc9g5nprfef8eSpP1vzTNgdFjvw6og0Qyu5""

What I'm getting is a parse error from during container start:
image

Please advice

@Coolawy Coolawy changed the title Webhhok definition Webhook definition Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant