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

Support http.Headers in util functions #3776

Commits on Mar 26, 2024

  1. Support http.Headers in util functions

    This commit updates the util functions such as PostJSON to support
    additional headers using http.Header. It will mean integrations
    such as RocketChat can use the notify functions instead of
    http.NewRequest.
    
    Signed-off-by: George Robinson <[email protected]>
    grobinson-grafana committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9b0b28a View commit details
    Browse the repository at this point in the history
  2. Fix lint

    Signed-off-by: George Robinson <[email protected]>
    grobinson-grafana committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    729ab7c View commit details
    Browse the repository at this point in the history
  3. Uncomment tests

    Signed-off-by: George Robinson <[email protected]>
    grobinson-grafana committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    24bf56c View commit details
    Browse the repository at this point in the history