{"action":"created","issue":{"url":"https://api.github.com/repos/robbiepaul/cloudconvert-laravel/issues/28","repository_url":"https://api.github.com/repos/robbiepaul/cloudconvert-laravel","labels_url":"https://api.github.com/repos/robbiepaul/cloudconvert-laravel/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/robbiepaul/cloudconvert-laravel/issues/28/comments","events_url":"https://api.github.com/repos/robbiepaul/cloudconvert-laravel/issues/28/events","html_url":"https://github.com/robbiepaul/cloudconvert-laravel/issues/28","id":157171440,"number":28,"title":"Non-blocking conversion using a callback URL - file not downloaded","user":{"login":"rgozdzialski","id":5881073,"avatar_url":"https://avatars.githubusercontent.com/u/5881073?v=3","gravatar_id":"","url":"https://api.github.com/users/rgozdzialski","html_url":"https://github.com/rgozdzialski","followers_url":"https://api.github.com/users/rgozdzialski/followers","following_url":"https://api.github.com/users/rgozdzialski/following{/other_user}","gists_url":"https://api.github.com/users/rgozdzialski/gists{/gist_id}","starred_url":"https://api.github.com/users/rgozdzialski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgozdzialski/subscriptions","organizations_url":"https://api.github.com/users/rgozdzialski/orgs","repos_url":"https://api.github.com/users/rgozdzialski/repos","events_url":"https://api.github.com/users/rgozdzialski/events{/privacy}","received_events_url":"https://api.github.com/users/rgozdzialski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-27T09:58:10Z","updated_at":"2016-05-27T11:18:49Z","closed_at":null,"body":"I'm following the implementation provided **[here](https://github.com/robbiepaul/cloudconvert-laravel#non-blocking-conversion-using-a-callback-url)**. To test it, I call `/convert` URL on my server. The robots.txt file is being converted correctly, **but is not stored** back on the server as PDF using the callback function.\r\n\r\nThe code:\r\n\r\n```\r\n/* /convert */\r\npublic function convert() {\r\n      CloudConvert::file(public_path('robots.txt'))\r\n            ->callback('http://my-public-server.com/convert-save')\r\n            ->convert('pdf');\r\n}\r\n```\r\n\r\nthen\r\n\r\n```\r\n/* /convert-save callback */\r\npublic function convertSave() {\r\n        CloudConvert::useProcess(Request::input('url'))\r\n            ->save(public_path('robots.pdf'));\r\n}\r\n```\r\n\r\nBoth /convert and  /convert-save are public, reachable URLs.\r\n\r\nAnything wrong with my implementation? Anything I'm missing?"},"comment":{"url":"https://api.github.com/repos/robbiepaul/cloudconvert-laravel/issues/comments/222122277","html_url":"https://github.com/robbiepaul/cloudconvert-laravel/issues/28#issuecomment-222122277","issue_url":"https://api.github.com/repos/robbiepaul/cloudconvert-laravel/issues/28","id":222122277,"user":{"login":"robbiepaul","id":2804149,"avatar_url":"https://avatars.githubusercontent.com/u/2804149?v=3","gravatar_id":"","url":"https://api.github.com/users/robbiepaul","html_url":"https://github.com/robbiepaul","followers_url":"https://api.github.com/users/robbiepaul/followers","following_url":"https://api.github.com/users/robbiepaul/following{/other_user}","gists_url":"https://api.github.com/users/robbiepaul/gists{/gist_id}","starred_url":"https://api.github.com/users/robbiepaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbiepaul/subscriptions","organizations_url":"https://api.github.com/users/robbiepaul/orgs","repos_url":"https://api.github.com/users/robbiepaul/repos","events_url":"https://api.github.com/users/robbiepaul/events{/privacy}","received_events_url":"https://api.github.com/users/robbiepaul/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T11:18:49Z","updated_at":"2016-05-27T11:18:49Z","body":"I just tested it, it works.\r\n\r\nMake sure `/convert-save` is a POST route and you have CSRF disabled for that route, see the Laravel docs: https://laravel.com/docs/master/routing#csrf-excluding-uris"}}
{"actor":{"display_login":"robbiepaul"}}