{"action":"created","issue":{"url":"https://api.github.com/repos/dwyl/api/issues/21","repository_url":"https://api.github.com/repos/dwyl/api","labels_url":"https://api.github.com/repos/dwyl/api/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/dwyl/api/issues/21/comments","events_url":"https://api.github.com/repos/dwyl/api/issues/21/events","html_url":"https://github.com/dwyl/api/issues/21","id":234122101,"number":21,"title":"Example POST Query with Data (curl & $)","user":{"login":"nelsonic","id":194400,"avatar_url":"https://avatars0.githubusercontent.com/u/194400?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonic","html_url":"https://github.com/nelsonic","followers_url":"https://api.github.com/users/nelsonic/followers","following_url":"https://api.github.com/users/nelsonic/following{/other_user}","gists_url":"https://api.github.com/users/nelsonic/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonic/subscriptions","organizations_url":"https://api.github.com/users/nelsonic/orgs","repos_url":"https://api.github.com/users/nelsonic/repos","events_url":"https://api.github.com/users/nelsonic/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonic/received_events","type":"User","site_admin":false},"labels":[{"id":222954948,"url":"https://api.github.com/repos/dwyl/api/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":222954949,"url":"https://api.github.com/repos/dwyl/api/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-07T07:52:32Z","updated_at":"2017-06-08T15:35:28Z","closed_at":null,"body":"Got API working. now need some sample requests ..."},"comment":{"url":"https://api.github.com/repos/dwyl/api/issues/comments/307141056","html_url":"https://github.com/dwyl/api/issues/21#issuecomment-307141056","issue_url":"https://api.github.com/repos/dwyl/api/issues/21","id":307141056,"user":{"login":"nelsonic","id":194400,"avatar_url":"https://avatars0.githubusercontent.com/u/194400?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonic","html_url":"https://github.com/nelsonic","followers_url":"https://api.github.com/users/nelsonic/followers","following_url":"https://api.github.com/users/nelsonic/following{/other_user}","gists_url":"https://api.github.com/users/nelsonic/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonic/subscriptions","organizations_url":"https://api.github.com/users/nelsonic/orgs","repos_url":"https://api.github.com/users/nelsonic/repos","events_url":"https://api.github.com/users/nelsonic/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonic/received_events","type":"User","site_admin":false},"created_at":"2017-06-08T15:35:28Z","updated_at":"2017-06-08T15:35:28Z","body":"Visit: https://dwylapi.herokuapp.com/rows\r\n\r\nCreate a new Person (User)\r\n```\r\ncurl -H \"Content-Type: application/json\" -X POST -d '{\"person\": {\"name\":\"Jimmy\",\"email\":\"jimmy@test.net\"}}' https://dwylapi.herokuapp.com/people\r\n```\r\n\r\nNow create a Row (record):\r\n```\r\ncurl -H \"Content-Type: application/json\" -X POST -d '{\"rows\": {\"id\":1, \"title\":\"Hello World\",\"body\":\"This is my amazing post!\", \"people_id\":\"1\"}}' https://dwylapi.herokuapp.com/rows\r\n```\r\nYou should see your record when you visit:\r\nhttps://dwylapi.herokuapp.com/rows"}}
{"actor":{"display_login":"nelsonic"}}