Setting | Description |
​ ​ ​ | URL of the webhook handler Must be HTTPS Example: "url" : "https://secret-basin-59856.herokuapp.com/webhook" |
​ | ​Basic authentication username Optional (but required if Example: "username" : "wonka" |
​ | ​Basic authentication password Optional (but required if Example: "password" : "123456" (use a much stronger password!) |
​ | List of HTTP headers to pass to webhook handler You can use these to send the webhook handler additional application-specific data Do NOT use header keys that might clash with established HTTP header names Example: "headers": [ {"key" : "key1", "value" : "value1"}, {"key" : "key2", "value" : "value2"} ] |
{"result" : "https://cdn2.thecatapi.com/images/b5u.jpg"}
{"result" : "error","error" : "No more cat photos :("}