Tobiq
Tobiq

Reputation: 2657

Webhooks to desktop

This document states that WebHooks requires you to register a server, with a URL and all, before confirming the website is yours.

I wish to use this API in a (C#) desktop, to get notified when a remote drive change has been made.

I tried registering a domain using an IP address, with the link provided in the document, but it does not work.

Is this API really only to be used by back-end servers?

Upvotes: 3

Views: 3007

Answers (1)

Linda Lawton - DaImTo
Linda Lawton - DaImTo

Reputation: 117224

To use push notifications, you need to do three things:

  • Register the domain of your receiving URL. For example, if you plan to use https://example.com/notifications as your receiving URL, you need to register https://example.com.
  • Set up your receiving URL, or "Webhook" callback receiver.
  • Set up a notification channel for each resource endpoint you want to watch.

The domain must be a URL hosted. Your not going to be able o use it on a normal pc unless you have a webserver installed on that. With a registered domain and not just an ip address.

Upvotes: 3

Related Questions