{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/547","repository_url":"https://api.github.com/repos/influxdata/docs.influxdata.com","labels_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/547/comments","events_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/547/events","html_url":"https://github.com/influxdata/docs.influxdata.com/issues/547","id":167474468,"number":547,"title":"verify curl syntax for POST","user":{"login":"beckettsean","id":6537329,"avatar_url":"https://avatars.githubusercontent.com/u/6537329?v=3","gravatar_id":"","url":"https://api.github.com/users/beckettsean","html_url":"https://github.com/beckettsean","followers_url":"https://api.github.com/users/beckettsean/followers","following_url":"https://api.github.com/users/beckettsean/following{/other_user}","gists_url":"https://api.github.com/users/beckettsean/gists{/gist_id}","starred_url":"https://api.github.com/users/beckettsean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckettsean/subscriptions","organizations_url":"https://api.github.com/users/beckettsean/orgs","repos_url":"https://api.github.com/users/beckettsean/repos","events_url":"https://api.github.com/users/beckettsean/events{/privacy}","received_events_url":"https://api.github.com/users/beckettsean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdata/docs.influxdata.com/labels/Priority:%20high","name":"Priority: high","color":"006b75"},{"url":"https://api.github.com/repos/influxdata/docs.influxdata.com/labels/Time%20commitment:%20quick%20task","name":"Time commitment: quick task","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"rossmcdonald","id":4060903,"avatar_url":"https://avatars.githubusercontent.com/u/4060903?v=3","gravatar_id":"","url":"https://api.github.com/users/rossmcdonald","html_url":"https://github.com/rossmcdonald","followers_url":"https://api.github.com/users/rossmcdonald/followers","following_url":"https://api.github.com/users/rossmcdonald/following{/other_user}","gists_url":"https://api.github.com/users/rossmcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/rossmcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossmcdonald/subscriptions","organizations_url":"https://api.github.com/users/rossmcdonald/orgs","repos_url":"https://api.github.com/users/rossmcdonald/repos","events_url":"https://api.github.com/users/rossmcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/rossmcdonald/received_events","type":"User","site_admin":false},"assignees":[{"login":"rossmcdonald","id":4060903,"avatar_url":"https://avatars.githubusercontent.com/u/4060903?v=3","gravatar_id":"","url":"https://api.github.com/users/rossmcdonald","html_url":"https://github.com/rossmcdonald","followers_url":"https://api.github.com/users/rossmcdonald/followers","following_url":"https://api.github.com/users/rossmcdonald/following{/other_user}","gists_url":"https://api.github.com/users/rossmcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/rossmcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossmcdonald/subscriptions","organizations_url":"https://api.github.com/users/rossmcdonald/orgs","repos_url":"https://api.github.com/users/rossmcdonald/repos","events_url":"https://api.github.com/users/rossmcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/rossmcdonald/received_events","type":"User","site_admin":false},{"login":"kostasb","id":15780449,"avatar_url":"https://avatars.githubusercontent.com/u/15780449?v=3","gravatar_id":"","url":"https://api.github.com/users/kostasb","html_url":"https://github.com/kostasb","followers_url":"https://api.github.com/users/kostasb/followers","following_url":"https://api.github.com/users/kostasb/following{/other_user}","gists_url":"https://api.github.com/users/kostasb/gists{/gist_id}","starred_url":"https://api.github.com/users/kostasb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostasb/subscriptions","organizations_url":"https://api.github.com/users/kostasb/orgs","repos_url":"https://api.github.com/users/kostasb/repos","events_url":"https://api.github.com/users/kostasb/events{/privacy}","received_events_url":"https://api.github.com/users/kostasb/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/influxdata/docs.influxdata.com/milestones/5","html_url":"https://github.com/influxdata/docs.influxdata.com/milestones/1.0","labels_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/milestones/5/labels","id":1737496,"number":5,"title":"1.0","description":"","creator":{"login":"beckettsean","id":6537329,"avatar_url":"https://avatars.githubusercontent.com/u/6537329?v=3","gravatar_id":"","url":"https://api.github.com/users/beckettsean","html_url":"https://github.com/beckettsean","followers_url":"https://api.github.com/users/beckettsean/followers","following_url":"https://api.github.com/users/beckettsean/following{/other_user}","gists_url":"https://api.github.com/users/beckettsean/gists{/gist_id}","starred_url":"https://api.github.com/users/beckettsean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckettsean/subscriptions","organizations_url":"https://api.github.com/users/beckettsean/orgs","repos_url":"https://api.github.com/users/beckettsean/repos","events_url":"https://api.github.com/users/beckettsean/events{/privacy}","received_events_url":"https://api.github.com/users/beckettsean/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":14,"state":"open","created_at":"2016-04-28T21:46:22Z","updated_at":"2016-07-25T21:50:37Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-25T21:50:34Z","updated_at":"2016-07-25T22:16:34Z","closed_at":null,"body":"\r\n###### URL for relevant page?\r\n https://docs.influxdata.com/influxdb/v0.13/guides/writing_data/\r\n\r\n###### What products and version are you using?\r\n0.13+ (when the POST method was required for destructive actions)\r\n\r\nFrom\r\nhttps://github.com/influxdata/influxdb/issues/6787#issuecomment-235087485"},"comment":{"url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/comments/235103261","html_url":"https://github.com/influxdata/docs.influxdata.com/issues/547#issuecomment-235103261","issue_url":"https://api.github.com/repos/influxdata/docs.influxdata.com/issues/547","id":235103261,"user":{"login":"rossmcdonald","id":4060903,"avatar_url":"https://avatars.githubusercontent.com/u/4060903?v=3","gravatar_id":"","url":"https://api.github.com/users/rossmcdonald","html_url":"https://github.com/rossmcdonald","followers_url":"https://api.github.com/users/rossmcdonald/followers","following_url":"https://api.github.com/users/rossmcdonald/following{/other_user}","gists_url":"https://api.github.com/users/rossmcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/rossmcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossmcdonald/subscriptions","organizations_url":"https://api.github.com/users/rossmcdonald/orgs","repos_url":"https://api.github.com/users/rossmcdonald/repos","events_url":"https://api.github.com/users/rossmcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/rossmcdonald/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T22:16:34Z","updated_at":"2016-07-25T22:16:34Z","body":"I believe the docs are correct... Against 0.13, creating a database with a GET yields:\r\n\r\n```\r\n> curl -i -XGET localhost:8086/query?q=create%20database%20yellow\r\nHTTP/1.1 200 OK\r\nConnection: close\r\nContent-Type: application/json\r\nRequest-Id: 0d62447f-52b5-11e6-8005-000000000000\r\nX-Influxdb-Version: 0.13.0\r\nDate: Mon, 25 Jul 2016 22:13:44 GMT\r\nContent-Length: 158\r\n\r\n{\"results\":[{\"messages\":[{\"level\":\"warning\",\"text\":\"deprecated use of 'CREATE DATABASE yellow' in a read only context, please use a POST request instead\"}]}]}\r\n```\r\n\r\nSo it's technically still possible, but the docs should direct users to use POST as using GET is deprecated.\r\n\r\n```\r\n> curl -i -XPOST localhost:8086/query?q=create%20database%20red\r\nHTTP/1.1 200 OK\r\nConnection: close\r\nContent-Type: application/json\r\nRequest-Id: 4f525e26-52b5-11e6-8006-000000000000\r\nX-Influxdb-Version: 0.13.0\r\nDate: Mon, 25 Jul 2016 22:15:35 GMT\r\nContent-Length: 16\r\n\r\n{\"results\":[{}]}\r\n```\r\n\r\nOr am I missing something?"}}
{"actor":{"display_login":"rossmcdonald"}}