{"action":"created","issue":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/325","labels_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/325/comments","events_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/325/events","html_url":"https://github.com/lightbody/browsermob-proxy/issues/325","id":106761263,"number":325,"title":"Basic Auth not working with Rest API","user":{"login":"sahajamit","id":358319,"avatar_url":"https://avatars.githubusercontent.com/u/358319?v=3","gravatar_id":"","url":"https://api.github.com/users/sahajamit","html_url":"https://github.com/sahajamit","followers_url":"https://api.github.com/users/sahajamit/followers","following_url":"https://api.github.com/users/sahajamit/following{/other_user}","gists_url":"https://api.github.com/users/sahajamit/gists{/gist_id}","starred_url":"https://api.github.com/users/sahajamit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahajamit/subscriptions","organizations_url":"https://api.github.com/users/sahajamit/orgs","repos_url":"https://api.github.com/users/sahajamit/repos","events_url":"https://api.github.com/users/sahajamit/events{/privacy}","received_events_url":"https://api.github.com/users/sahajamit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-16T12:14:19Z","updated_at":"2015-10-29T09:19:01Z","closed_at":"2015-09-18T00:26:16Z","body":"Hi,\r\n\r\n I have opened the BMP proxy server using \r\n\r\nsh browsermob-proxy -port 9090\r\n\r\nand then started a proxy on the port 9091:\r\n\r\ncurl -X POST http://localhost:9090/proxy\r\n\r\nThen I used the REST api to enable the basic authentication. I have user Chrome's Postman client to hit this post request.\r\n\r\nhttp://localhost:9090/proxy/9091/auth/basic/the-internet.herokuapp.com/\r\n\r\nand the request body looks like:\r\n\r\n{\"username\":\"admin\",\"password\":\"admin\"}\r\n\r\nIt return me 200 response code.\r\n\r\nBut now when I am trying to open this website \"http://the-internet.herokuapp.com/basic_auth\". It still shows me authentication pop-up.\r\n\r\nWhen I tried the same thing with java, it worked.\r\n\r\nThanks,\r\nAmit.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/comments/152123781","html_url":"https://github.com/lightbody/browsermob-proxy/issues/325#issuecomment-152123781","issue_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/325","id":152123781,"user":{"login":"sahajamit","id":358319,"avatar_url":"https://avatars.githubusercontent.com/u/358319?v=3","gravatar_id":"","url":"https://api.github.com/users/sahajamit","html_url":"https://github.com/sahajamit","followers_url":"https://api.github.com/users/sahajamit/followers","following_url":"https://api.github.com/users/sahajamit/following{/other_user}","gists_url":"https://api.github.com/users/sahajamit/gists{/gist_id}","starred_url":"https://api.github.com/users/sahajamit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahajamit/subscriptions","organizations_url":"https://api.github.com/users/sahajamit/orgs","repos_url":"https://api.github.com/users/sahajamit/repos","events_url":"https://api.github.com/users/sahajamit/events{/privacy}","received_events_url":"https://api.github.com/users/sahajamit/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T09:19:01Z","updated_at":"2015-10-29T09:19:01Z","body":"Thanks with this flag \"--use-littleproxy false\" it is working fine."}}