{"action":"created","issue":{"url":"https://api.github.com/repos/Backblaze/b2-sdk-java/issues/15","repository_url":"https://api.github.com/repos/Backblaze/b2-sdk-java","labels_url":"https://api.github.com/repos/Backblaze/b2-sdk-java/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Backblaze/b2-sdk-java/issues/15/comments","events_url":"https://api.github.com/repos/Backblaze/b2-sdk-java/issues/15/events","html_url":"https://github.com/Backblaze/b2-sdk-java/issues/15","id":269662458,"number":15,"title":"CORS not supported","user":{"login":"mianor64","id":3056215,"avatar_url":"https://avatars2.githubusercontent.com/u/3056215?v=4","gravatar_id":"","url":"https://api.github.com/users/mianor64","html_url":"https://github.com/mianor64","followers_url":"https://api.github.com/users/mianor64/followers","following_url":"https://api.github.com/users/mianor64/following{/other_user}","gists_url":"https://api.github.com/users/mianor64/gists{/gist_id}","starred_url":"https://api.github.com/users/mianor64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mianor64/subscriptions","organizations_url":"https://api.github.com/users/mianor64/orgs","repos_url":"https://api.github.com/users/mianor64/repos","events_url":"https://api.github.com/users/mianor64/events{/privacy}","received_events_url":"https://api.github.com/users/mianor64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-30T16:19:46Z","updated_at":"2018-03-08T09:09:55Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nI was trying to replace S3 with BackBlaze but I hit a major issue with your sdk & solution.\r\nIt looks like CORS is not supported so I am currently unable to upload files to your servers directly from a browser.\r\nhttps://help.backblaze.com/hc/en-us/articles/114094192774-Does-B2-have-CORS-headers-support-\r\n\r\nIt will be easy on your side to enable CORS but as long as it's disabled I can't use Backblaze for my project.\r\n"},"comment":{"url":"https://api.github.com/repos/Backblaze/b2-sdk-java/issues/comments/371426059","html_url":"https://github.com/Backblaze/b2-sdk-java/issues/15#issuecomment-371426059","issue_url":"https://api.github.com/repos/Backblaze/b2-sdk-java/issues/15","id":371426059,"user":{"login":"ricky11","id":5736415,"avatar_url":"https://avatars0.githubusercontent.com/u/5736415?v=4","gravatar_id":"","url":"https://api.github.com/users/ricky11","html_url":"https://github.com/ricky11","followers_url":"https://api.github.com/users/ricky11/followers","following_url":"https://api.github.com/users/ricky11/following{/other_user}","gists_url":"https://api.github.com/users/ricky11/gists{/gist_id}","starred_url":"https://api.github.com/users/ricky11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricky11/subscriptions","organizations_url":"https://api.github.com/users/ricky11/orgs","repos_url":"https://api.github.com/users/ricky11/repos","events_url":"https://api.github.com/users/ricky11/events{/privacy}","received_events_url":"https://api.github.com/users/ricky11/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T09:09:55Z","updated_at":"2018-03-08T09:09:55Z","author_association":"NONE","body":"Hi\r\n\r\nThanks for your reply\r\n\r\nIm a little confused as your website shows a settings for my bucket called “CORS” see below.\r\n\r\n[cid:image001.png@01D3B6FC.E3A34BE0]\r\n\r\n\r\n\r\nWhich API’S does CORS current support?\r\n\r\nRight now from my browser I am trying to use the following :\r\n\r\nb2_authorize_account<https://www.backblaze.com/b2/docs/b2_authorize_account.html>\r\nb2_get_upload_url<https://www.backblaze.com/b2/docs/b2_get_upload_url.html>\r\nb2_download_file_by_id<https://www.backblaze.com/b2/docs/b2_download_file_by_id.html>\r\n\r\nb2_get_download_authorization<https://www.backblaze.com/b2/docs/b2_get_download_authorization.html>\r\n\r\nb2_list_buckets<https://www.backblaze.com/b2/docs/b2_list_buckets.html>\r\nb2_upload_file<https://www.backblaze.com/b2/docs/b2_upload_file.html>\r\n\r\n\r\nSo if CORS is not currently support for any of the above API operations, what are my options, do I have to do all my API calls from a backend server outside of the browser? Do you support node?\r\n\r\nWhat I am trying to achieve is a dropbox like sharing application for our industry, sign in, upload, download files etc I am using vanilla javascript with a node server.\r\n\r\nSincerely,\r\nRishi Uttam\r\n\r\nParamount Manufacturing Group Limited\r\n\r\n\r\nFrom: Nilay Patel [mailto:notifications@github.com]\r\nSent: Thursday, March 8, 2018 2:05 AM\r\nTo: Backblaze/b2-sdk-java <b2-sdk-java@noreply.github.com>\r\nCc: Rishi Uttam <rishi@pmgrouphk.com>; Comment <comment@noreply.github.com>\r\nSubject: Re: [Backblaze/b2-sdk-java] CORS not supported (#15)\r\n\r\n\r\nRicky - thanks for the feedback! We are considering adding additional APIs to our CORS support once our application keys functionality is in place. This should happen in the next couple months. Details on that are here, we'd love your feedback: https://www.backblaze.com/b2/docs/application_keys.html.\r\n\r\nOut of curiosity - can you explain your use case? I'd love to understand what you are trying to achieve.\r\n\r\n—\r\nYou are receiving this because you commented.\r\nReply to this email directly, view it on GitHub<https://github.com/Backblaze/b2-sdk-java/issues/15#issuecomment-371228589>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFeH30p_paJQV3ERBTteTAx0rl9rI76Eks5tcCFTgaJpZM4QLdGl>.\r\n"}}
{"actor":{"display_login":"ricky11"}}