{"action":"created","issue":{"url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/20","repository_url":"https://api.github.com/repos/2018swecapstone/h2ms","labels_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/20/comments","events_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/20/events","html_url":"https://github.com/2018swecapstone/h2ms/pull/20","id":306316758,"number":20,"title":"Security registration","user":{"login":"shinwachi","id":300011,"avatar_url":"https://avatars1.githubusercontent.com/u/300011?v=4","gravatar_id":"","url":"https://api.github.com/users/shinwachi","html_url":"https://github.com/shinwachi","followers_url":"https://api.github.com/users/shinwachi/followers","following_url":"https://api.github.com/users/shinwachi/following{/other_user}","gists_url":"https://api.github.com/users/shinwachi/gists{/gist_id}","starred_url":"https://api.github.com/users/shinwachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinwachi/subscriptions","organizations_url":"https://api.github.com/users/shinwachi/orgs","repos_url":"https://api.github.com/users/shinwachi/repos","events_url":"https://api.github.com/users/shinwachi/events{/privacy}","received_events_url":"https://api.github.com/users/shinwachi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-19T02:48:23Z","updated_at":"2018-03-20T23:40:02Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/20","html_url":"https://github.com/2018swecapstone/h2ms/pull/20","diff_url":"https://github.com/2018swecapstone/h2ms/pull/20.diff","patch_url":"https://github.com/2018swecapstone/h2ms/pull/20.patch"},"body":"Added Web API Basic Authentication mechanism.  Added User Registration and User Role entity, repository, and services.  Stub for registration page (frontend is out of scope)."},"comment":{"url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/comments/374794115","html_url":"https://github.com/2018swecapstone/h2ms/pull/20#issuecomment-374794115","issue_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/20","id":374794115,"user":{"login":"shinwachi","id":300011,"avatar_url":"https://avatars1.githubusercontent.com/u/300011?v=4","gravatar_id":"","url":"https://api.github.com/users/shinwachi","html_url":"https://github.com/shinwachi","followers_url":"https://api.github.com/users/shinwachi/followers","following_url":"https://api.github.com/users/shinwachi/following{/other_user}","gists_url":"https://api.github.com/users/shinwachi/gists{/gist_id}","starred_url":"https://api.github.com/users/shinwachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinwachi/subscriptions","organizations_url":"https://api.github.com/users/shinwachi/orgs","repos_url":"https://api.github.com/users/shinwachi/repos","events_url":"https://api.github.com/users/shinwachi/events{/privacy}","received_events_url":"https://api.github.com/users/shinwachi/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T23:40:02Z","updated_at":"2018-03-20T23:40:02Z","author_association":"CONTRIBUTOR","body":"ok, I tested using \r\ncurl localhost:8080/users --user user:password\r\nThis returned users.\r\n\r\nFor post: \r\ncurl -d '{    \"id\": 8,    \"timestamp\": 1500658348,    \"relativeMoment\": 4,    \"observee\": \"7\",    \"observer\": \"6\",    \"observationType\": \"0\",    \"method\": 2}' localhost:8080/events -X POST --user user:password\r\n\r\nworked and posted an event.\r\n\r\n-----\r\n\r\nLet me know if this works for you.  Also, I couldn't quite figure out how to put in a test although I saw a few tutorials.  Have you come across any that look reasonable to create test like ones above?\r\n"}}
{"actor":{"display_login":"shinwachi"}}