{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/api-library/issues/77","repository_url":"https://api.github.com/repos/mautic/api-library","labels_url":"https://api.github.com/repos/mautic/api-library/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/mautic/api-library/issues/77/comments","events_url":"https://api.github.com/repos/mautic/api-library/issues/77/events","html_url":"https://github.com/mautic/api-library/issues/77","id":198237282,"number":77,"title":"Basic Authorization","user":{"login":"jozephbrasil","id":4625537,"avatar_url":"https://avatars.githubusercontent.com/u/4625537?v=3","gravatar_id":"","url":"https://api.github.com/users/jozephbrasil","html_url":"https://github.com/jozephbrasil","followers_url":"https://api.github.com/users/jozephbrasil/followers","following_url":"https://api.github.com/users/jozephbrasil/following{/other_user}","gists_url":"https://api.github.com/users/jozephbrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/jozephbrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jozephbrasil/subscriptions","organizations_url":"https://api.github.com/users/jozephbrasil/orgs","repos_url":"https://api.github.com/users/jozephbrasil/repos","events_url":"https://api.github.com/users/jozephbrasil/events{/privacy}","received_events_url":"https://api.github.com/users/jozephbrasil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-31T15:56:21Z","updated_at":"2017-01-03T23:55:35Z","closed_at":null,"body":"Hello guys. I am looking for examples about how to use basic authorization on API.\r\n\r\nI have tried:\r\n\r\n$settings = array(\r\n    'baseUrl'          => '', // Base URL of the Mautic instance\r\n    'version'          => 'basic',\r\n    'clientKey'        => 'HTTP username',\r\n    'clientSecret'     => 'HTTP password',\r\n    'callback'         => '' // Redirect URI/Callback URI for this script\r\n);\r\n\r\nAnyone could help me about how to use it correctly?"},"comment":{"url":"https://api.github.com/repos/mautic/api-library/issues/comments/270259567","html_url":"https://github.com/mautic/api-library/issues/77#issuecomment-270259567","issue_url":"https://api.github.com/repos/mautic/api-library/issues/77","id":270259567,"user":{"login":"jozephbrasil","id":4625537,"avatar_url":"https://avatars.githubusercontent.com/u/4625537?v=3","gravatar_id":"","url":"https://api.github.com/users/jozephbrasil","html_url":"https://github.com/jozephbrasil","followers_url":"https://api.github.com/users/jozephbrasil/followers","following_url":"https://api.github.com/users/jozephbrasil/following{/other_user}","gists_url":"https://api.github.com/users/jozephbrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/jozephbrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jozephbrasil/subscriptions","organizations_url":"https://api.github.com/users/jozephbrasil/orgs","repos_url":"https://api.github.com/users/jozephbrasil/repos","events_url":"https://api.github.com/users/jozephbrasil/events{/privacy}","received_events_url":"https://api.github.com/users/jozephbrasil/received_events","type":"User","site_admin":false},"created_at":"2017-01-03T23:55:35Z","updated_at":"2017-01-03T23:55:35Z","body":"OK! Done... If you need help about how to fetch PR, please take a look at: https://help.github.com/articles/checking-out-pull-requests-locally/"}}
{"actor":{"display_login":"jozephbrasil"}}