POST 405 (Method Not Allowed)
问题 I am trying to build a Chrome Extension that uses the BOX api. I am able to authentificate and enable access for the app, and then I extract and store the access token from the URL. The next step would be to upload a file to box, and I am trying to use the code they provided on the website with small modifications: //file - a csv file I created before var uploadUrl = 'https://upload.box.com/api/2.0/files/General'; // The Box OAuth 2 Header. Add your access token. var headers = { Authorization