{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/111","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/111/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/111/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/111","id":130246522,"number":111,"title":"CURL request not working","user":{"login":"gateway","id":519563,"avatar_url":"https://avatars.githubusercontent.com/u/519563?v=3","gravatar_id":"","url":"https://api.github.com/users/gateway","html_url":"https://github.com/gateway","followers_url":"https://api.github.com/users/gateway/followers","following_url":"https://api.github.com/users/gateway/following{/other_user}","gists_url":"https://api.github.com/users/gateway/gists{/gist_id}","starred_url":"https://api.github.com/users/gateway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gateway/subscriptions","organizations_url":"https://api.github.com/users/gateway/orgs","repos_url":"https://api.github.com/users/gateway/repos","events_url":"https://api.github.com/users/gateway/events{/privacy}","received_events_url":"https://api.github.com/users/gateway/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/troubleshooting","name":"troubleshooting","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-02-01T03:41:35Z","updated_at":"2016-08-16T22:05:02Z","closed_at":"2016-02-11T02:51:25Z","body":"I have set up the parse server on Heroku connected to MongoLab and I keep getting this even though the api key is correct.\r\n\r\ngatewaysmacpro:parse-server-example gateway$ curl -X POST \\\r\n>   -H \"X-Parse-Application-Id: XXXXXXXXXXXXXXXXXXXXXXX\" \\\r\n>   -H \"Content-Type: application/json\" \\\r\n>   -d '{\"score\":1337,\"playerName\":\"Sean Plott\",\"cheatMode\":false}' \\\r\n>   https://xxxxxx.herokuapp.com/parse/classes/GameScore\r\n{\"error\":\"unauthorized\"}\r\ngatewaysmacpro:parse-server-example gateway\r\n\r\nany ideas what could be causing this?"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/240254323","html_url":"https://github.com/ParsePlatform/parse-server/issues/111#issuecomment-240254323","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/111","id":240254323,"user":{"login":"edwinlin","id":11166970,"avatar_url":"https://avatars.githubusercontent.com/u/11166970?v=3","gravatar_id":"","url":"https://api.github.com/users/edwinlin","html_url":"https://github.com/edwinlin","followers_url":"https://api.github.com/users/edwinlin/followers","following_url":"https://api.github.com/users/edwinlin/following{/other_user}","gists_url":"https://api.github.com/users/edwinlin/gists{/gist_id}","starred_url":"https://api.github.com/users/edwinlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwinlin/subscriptions","organizations_url":"https://api.github.com/users/edwinlin/orgs","repos_url":"https://api.github.com/users/edwinlin/repos","events_url":"https://api.github.com/users/edwinlin/events{/privacy}","received_events_url":"https://api.github.com/users/edwinlin/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T22:05:02Z","updated_at":"2016-08-16T22:05:02Z","body":"I followed @johnantoni's curl request but the response I receive is : \r\n\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n{\"error\":\"unauthorized\"}[18:02:51]\r\n\r\nEverything works in localhost. I've redeployed and tested with same results."}}
{"actor":{"display_login":"edwinlin"}}