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

Custom headers ignored #22

Closed
stefan-sherwood opened this issue Oct 24, 2020 · 2 comments
Closed

Custom headers ignored #22

stefan-sherwood opened this issue Oct 24, 2020 · 2 comments

Comments

@stefan-sherwood
Copy link

I add a new webhook. I change Advanced → HEADERS to:

{
  "Content-Type": "application/json",
  "test": "where is this header?"
}

But when I click Send Test Webhook, the call made to my server does not include the "test" header.

I have tried:

  • Saving the Webhook before pressing test (and not saving it before pressing test, same result)
  • Restarting the OctoPrint server
  • Removing the "snapshot" entry under the DATA json (because that causes another header to be overwritten)
@stefan-sherwood
Copy link
Author

Hmm...I deleted the webhook and created it anew and now with the identical settings it works fine. I don't know how it got into such a stuck state. Feel free to close if you don't consider it a bug.

@2blane
Copy link
Owner

2blane commented Nov 4, 2020

Going to close this as it looks like the same problem as #19

@2blane 2blane closed this as completed Nov 4, 2020
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

2 participants