{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/3485","labels_url":"https://api.github.com/repos/grafana/grafana/issues/3485/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/3485/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/3485/events","html_url":"https://github.com/grafana/grafana/issues/3485","id":121472901,"number":3485,"title":"POST request redirected to GET","user":{"login":"pawanrawal","id":7247941,"avatar_url":"https://avatars.githubusercontent.com/u/7247941?v=3","gravatar_id":"","url":"https://api.github.com/users/pawanrawal","html_url":"https://github.com/pawanrawal","followers_url":"https://api.github.com/users/pawanrawal/followers","following_url":"https://api.github.com/users/pawanrawal/following{/other_user}","gists_url":"https://api.github.com/users/pawanrawal/gists{/gist_id}","starred_url":"https://api.github.com/users/pawanrawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawanrawal/subscriptions","organizations_url":"https://api.github.com/users/pawanrawal/orgs","repos_url":"https://api.github.com/users/pawanrawal/repos","events_url":"https://api.github.com/users/pawanrawal/events{/privacy}","received_events_url":"https://api.github.com/users/pawanrawal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-10T12:30:43Z","updated_at":"2015-12-10T12:41:01Z","closed_at":"2015-12-10T12:32:55Z","body":"Grafana makes a POST request to `https://host_name/api/datasources/proxy/5//_msearch?search_type=count` which returns a 301 redirect to a GET request to the same url which returns `{\"error\":\"ElasticsearchParseException[Failed to derive xcontent]\",\"status\":400}`\r\nAny reason why might this be happening ? \r\n\r\nAlso the first POST request is not logged in `/var/log/grafana/grafana.log` but the second request is . What am I missing here ?\r\n![screen shot 2015-12-10 at 5 50 56 pm 2](https://cloud.githubusercontent.com/assets/7247941/11715468/2d1cd074-9f68-11e5-89cc-4917d88aa023.png)\r\n![screen shot 2015-12-10 at 5 51 04 pm 2](https://cloud.githubusercontent.com/assets/7247941/11715469/2ee12c98-9f68-11e5-9c07-9b85bdeda43d.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/163598764","html_url":"https://github.com/grafana/grafana/issues/3485#issuecomment-163598764","issue_url":"https://api.github.com/repos/grafana/grafana/issues/3485","id":163598764,"user":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T12:41:01Z","updated_at":"2015-12-10T12:41:01Z","body":"why the post is redirected to GET? I don't know ask your Elasticsearch server :) "}}