{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/typeahead.js/issues/1137","labels_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1137/labels{/name}","comments_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1137/comments","events_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1137/events","html_url":"https://github.com/twitter/typeahead.js/issues/1137","id":61077555,"number":1137,"title":"Typeahead remote source not working in IIS in a web application (asp.net MVC5)","user":{"login":"kaomao","id":7003926,"avatar_url":"https://avatars.githubusercontent.com/u/7003926?v=3","gravatar_id":"","url":"https://api.github.com/users/kaomao","html_url":"https://github.com/kaomao","followers_url":"https://api.github.com/users/kaomao/followers","following_url":"https://api.github.com/users/kaomao/following{/other_user}","gists_url":"https://api.github.com/users/kaomao/gists{/gist_id}","starred_url":"https://api.github.com/users/kaomao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaomao/subscriptions","organizations_url":"https://api.github.com/users/kaomao/orgs","repos_url":"https://api.github.com/users/kaomao/repos","events_url":"https://api.github.com/users/kaomao/events{/privacy}","received_events_url":"https://api.github.com/users/kaomao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-13T14:33:28Z","updated_at":"2015-03-13T16:21:04Z","closed_at":null,"body":"Hi all,\r\nIt seems strange but typeahead is not working if I use it in a web application (which is contained under a website).\r\nWhile if I use typeahead in a website as usual is working as expected.\r\nI guess it's because of the different path, maybe it doesn't add the \"application\" to the url.\r\nDeployed here works: http://mysite:8090/\r\nHere it doesn't: http://mysite:8090/MyWebApp\r\nI debugged the source code but I couldn't find the part where it fails"},"comment":{"url":"https://api.github.com/repos/twitter/typeahead.js/issues/comments/79095009","html_url":"https://github.com/twitter/typeahead.js/issues/1137#issuecomment-79095009","issue_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1137","id":79095009,"user":{"login":"kaomao","id":7003926,"avatar_url":"https://avatars.githubusercontent.com/u/7003926?v=3","gravatar_id":"","url":"https://api.github.com/users/kaomao","html_url":"https://github.com/kaomao","followers_url":"https://api.github.com/users/kaomao/followers","following_url":"https://api.github.com/users/kaomao/following{/other_user}","gists_url":"https://api.github.com/users/kaomao/gists{/gist_id}","starred_url":"https://api.github.com/users/kaomao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaomao/subscriptions","organizations_url":"https://api.github.com/users/kaomao/orgs","repos_url":"https://api.github.com/users/kaomao/repos","events_url":"https://api.github.com/users/kaomao/events{/privacy}","received_events_url":"https://api.github.com/users/kaomao/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T16:21:04Z","updated_at":"2015-03-13T16:21:04Z","body":"managed to fix it.... \r\nI just add the \"MyWebApp\" to the ajax call, specifically to the url of the Bloodhound object: \r\n{url: \"/MyWebApp/Controller/action/?q=%QUERY\" etc. etc.}\r\nWhile this format \"Controller/action/?q=%QUERY\", as shown in the examples, doesn't really work with IIS applications"}}