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

HTTP body application/x-www-form-urlencoded support #1379

Closed
owen-d opened this issue Dec 6, 2019 · 0 comments · Fixed by #1381
Closed

HTTP body application/x-www-form-urlencoded support #1379

owen-d opened this issue Dec 6, 2019 · 0 comments · Fixed by #1381
Assignees

Comments

@owen-d
Copy link
Member

owen-d commented Dec 6, 2019

Describe the bug
According to https://prometheus.io/docs/prometheus/latest/querying/api/, many endpoints allow specifying query string parameters in the body via the application/x-www-form-urlencoded header. In an effort to maintain parity, we should support this on the following endpoints:

  • POST /api/v1/query_range
  • POST /api/v1/query
  • POST /api/v1/series

This can be easily handled in https://github.com/grafana/loki/tree/master/pkg/loghttp

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

Successfully merging a pull request may close this issue.

1 participant