如何在事件通知中添加身份验证?

时间:2013-05-10 06:03:07

标签: authentication notifications http-headers box-api

我查看了有关事件通知(http://developers.box.com/webhooks/)的文档。

我想通过基本身份验证调用REST API。有没有办法做到这一点?

比如,自定义HTTP调用的HTTP标头(如添加Authorization:Basic ...)?

1 个答案:

答案 0 :(得分:0)

目前不支持传入特殊标头。但是,您可以通过在要发送到例如的事件通知的URL中指定它来使用HTTP Basic Auth。

https://username:password@www.example.com/path