Bug fixed in line 643 (#4298)
Bug fixed in line 643 (#4298)

The command: curl -G -s "http://localhost:3100/api/prom/query" --data-urlencode '{foo="bar"}' | jq
gives the message: parse error: Invalid numeric literal at line 1, column 6
Instead, the command: curl -G -s  "http://localhost:3100/api/prom/query" --data-urlencode 'query={foo="bar"}' | jq, works
grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki