{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2412","repository_url":"https://api.github.com/repos/Codeception/Codeception","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2412/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2412/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2412/events","html_url":"https://github.com/Codeception/Codeception/issues/2412","id":108671193,"number":2412,"title":"HTTP request with Http Authenticated","user":{"login":"Dzegaib","id":14874306,"avatar_url":"https://avatars.githubusercontent.com/u/14874306?v=3","gravatar_id":"","url":"https://api.github.com/users/Dzegaib","html_url":"https://github.com/Dzegaib","followers_url":"https://api.github.com/users/Dzegaib/followers","following_url":"https://api.github.com/users/Dzegaib/following{/other_user}","gists_url":"https://api.github.com/users/Dzegaib/gists{/gist_id}","starred_url":"https://api.github.com/users/Dzegaib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dzegaib/subscriptions","organizations_url":"https://api.github.com/users/Dzegaib/orgs","repos_url":"https://api.github.com/users/Dzegaib/repos","events_url":"https://api.github.com/users/Dzegaib/events{/privacy}","received_events_url":"https://api.github.com/users/Dzegaib/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/Needs%20clarification","name":"Needs clarification","color":"1abc9c"},{"url":"https://api.github.com/repos/Codeception/Codeception/labels/REST","name":"REST","color":"bdc3c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-09-28T14:37:19Z","updated_at":"2016-07-15T08:52:27Z","closed_at":null,"body":"Hello, i'm trying to do HTTP request with Authtenticate, but always return \"401\". Follow my steps:\r\n```php\r\n$I->wantTo('Login on API');\r\n$I->amHttpAuthenticated('test1', 'test1');\r\n$I->haveHttpHeader('Content-Type', 'application/x-www-form-urlencoded');\r\n$I->sendGET('/?username=usertest1&password=ABC123test');\r\n$I->seeResponseCodeIs(200);\r\n```\r\n\r\nFollow my api.suite.yml:\r\n```yaml\r\nclass_name: ApiTester\r\nmodules:\r\n    enabled:\r\n      - REST:\r\n          url: 'https://test_api/login'\r\n          auth: ['test1','test1']\r\n          depends: PhpBrowser\r\n          part: Json\r\n```\r\nSomeone, can help me please? \r\n\r\nTks"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/232897683","html_url":"https://github.com/Codeception/Codeception/issues/2412#issuecomment-232897683","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/2412","id":232897683,"user":{"login":"doctorx","id":612905,"avatar_url":"https://avatars.githubusercontent.com/u/612905?v=3","gravatar_id":"","url":"https://api.github.com/users/doctorx","html_url":"https://github.com/doctorx","followers_url":"https://api.github.com/users/doctorx/followers","following_url":"https://api.github.com/users/doctorx/following{/other_user}","gists_url":"https://api.github.com/users/doctorx/gists{/gist_id}","starred_url":"https://api.github.com/users/doctorx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctorx/subscriptions","organizations_url":"https://api.github.com/users/doctorx/orgs","repos_url":"https://api.github.com/users/doctorx/repos","events_url":"https://api.github.com/users/doctorx/events{/privacy}","received_events_url":"https://api.github.com/users/doctorx/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T08:52:27Z","updated_at":"2016-07-15T08:52:27Z","body":"Hmm. Commit is broken."}}
{"actor":{"display_login":"doctorx"}}