I tried creating webhook by making request to post 'projects/:id/webhook_settings/create', :controller => 'webhook_settings', :action => 'create', :as => :create_webhook. API key is set using X-Redmine-API-Key header. Redmine throws Invalid form authenticity token.. Is there any proper API for that?
I tried creating webhook by making request to
post 'projects/:id/webhook_settings/create', :controller => 'webhook_settings', :action => 'create', :as => :create_webhook
. API key is set using X-Redmine-API-Key header. Redmine throwsInvalid form authenticity token.
. Is there any proper API for that?