{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Cognitive-Services/issues/13","repository_url":"https://api.github.com/repos/Microsoft/Cognitive-Services","labels_url":"https://api.github.com/repos/Microsoft/Cognitive-Services/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Cognitive-Services/issues/13/comments","events_url":"https://api.github.com/repos/Microsoft/Cognitive-Services/issues/13/events","html_url":"https://github.com/Microsoft/Cognitive-Services/issues/13","id":145236535,"number":13,"title":"404 for linguistic analysis API","user":{"login":"zygmuntz","id":1714767,"avatar_url":"https://avatars.githubusercontent.com/u/1714767?v=3","gravatar_id":"","url":"https://api.github.com/users/zygmuntz","html_url":"https://github.com/zygmuntz","followers_url":"https://api.github.com/users/zygmuntz/followers","following_url":"https://api.github.com/users/zygmuntz/following{/other_user}","gists_url":"https://api.github.com/users/zygmuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/zygmuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zygmuntz/subscriptions","organizations_url":"https://api.github.com/users/zygmuntz/orgs","repos_url":"https://api.github.com/users/zygmuntz/repos","events_url":"https://api.github.com/users/zygmuntz/events{/privacy}","received_events_url":"https://api.github.com/users/zygmuntz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/Cognitive-Services/labels/Investigating","name":"Investigating","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-01T17:26:14Z","updated_at":"2016-04-01T19:37:10Z","closed_at":"2016-04-01T19:37:10Z","body":"In the browser, when opening https://api.projectoxford.ai/linguistic-analysis/v1.0/analyze, I get\r\n\r\n\t{ \"statusCode\": 404, \"message\": \"Resource not found\" }\r\n\r\nThe same when attempting to run the script:\r\n\r\n\timport requests\r\n\r\n\t_url = 'https://api.projectoxford.ai/linguistic-analysis/v1.0/analyze'\r\n\t_key = 'the_first_key'\r\n\r\n\tjson = { \r\n\t\t'language' : 'en', \r\n\t\t'analyzerIds': [ \"4D4F03C1-2B1B-43E7-8E16-E5F2FF66BF93\", \"1F115AB3-A64D-41C6-9D2F-87519AAF2712\" ],\r\n\t\t'text': \"Hi, Tom! How are you today?\"\r\n\t}\r\n\r\n\theaders = dict()\r\n\theaders['Ocp-Apim-Subscription-Key'] = _key\r\n\theaders['Content-Type'] = 'application/json' \r\n\r\n\tresponse = requests.request( 'post', _url, json = json, headers = headers )\r\n\tprint response\r\n\r\nOutput:\r\n\r\n\t<Response [404]>"},"comment":{"url":"https://api.github.com/repos/Microsoft/Cognitive-Services/issues/comments/204538057","html_url":"https://github.com/Microsoft/Cognitive-Services/issues/13#issuecomment-204538057","issue_url":"https://api.github.com/repos/Microsoft/Cognitive-Services/issues/13","id":204538057,"user":{"login":"zygmuntz","id":1714767,"avatar_url":"https://avatars.githubusercontent.com/u/1714767?v=3","gravatar_id":"","url":"https://api.github.com/users/zygmuntz","html_url":"https://github.com/zygmuntz","followers_url":"https://api.github.com/users/zygmuntz/followers","following_url":"https://api.github.com/users/zygmuntz/following{/other_user}","gists_url":"https://api.github.com/users/zygmuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/zygmuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zygmuntz/subscriptions","organizations_url":"https://api.github.com/users/zygmuntz/orgs","repos_url":"https://api.github.com/users/zygmuntz/repos","events_url":"https://api.github.com/users/zygmuntz/events{/privacy}","received_events_url":"https://api.github.com/users/zygmuntz/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T19:37:10Z","updated_at":"2016-04-01T19:37:10Z","body":"Thanks. \r\n\r\nYou might want to update https://www.microsoft.com/cognitive-services/en-us/linguistic-analysis-api/documentation/AnalyzeMethod with the correct REST endpoint and valid analyzer IDs.\r\n\r\nThe same goes to https://www.microsoft.com/cognitive-services/en-us/linguistic-analysis-api/documentation/AnalyzersMethod."}}