Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create webhook using API #49

Open
OctoNezd opened this issue Jul 21, 2023 · 1 comment
Open

Can't create webhook using API #49

OctoNezd opened this issue Jul 21, 2023 · 1 comment

Comments

@OctoNezd
Copy link

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?

@OctoNezd
Copy link
Author

OctoNezd commented Jul 21, 2023

Nevermind - managed to get it to work by adding .json to create. However, the returned result is HTML, not json. I assume its a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant