Log incoming subscription requests
This commit is contained in:
parent
e7df309708
commit
648ba9f84b
|
@ -134,6 +134,7 @@ func (handler *subscriptionHandler) handleUnsubscription(w http.ResponseWriter,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (handler *subscriptionHandler) handleSubscription(w http.ResponseWriter, r *http.Request) error {
|
func (handler *subscriptionHandler) handleSubscription(w http.ResponseWriter, r *http.Request) error {
|
||||||
|
log.Printf("suscription request received: %s %#v\n", r.URL.String(), r.Form)
|
||||||
callback := r.Form.Get("hub.callback")
|
callback := r.Form.Get("hub.callback")
|
||||||
topic := r.Form.Get("hub.topic")
|
topic := r.Form.Get("hub.topic")
|
||||||
secret := r.Form.Get("hub.secret")
|
secret := r.Form.Get("hub.secret")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user