2014-07-23 6 views
0

Box.com API를 사용하여 https://gist.github.com/seanrose/5570650에서 파일을 업로드하려고합니다.아약스를 사용하여 상자 업로드 파일

`XMLHttpRequest cannot load " https://upload.box.com/api/2.0/files/content ". No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin localhost' is therefore not allowed access."

내가 무엇을 할 수

나는 다음과 같은 오류가 발생했습니다? AJAX를 사용하여 Box.com에 파일을 업로드하려면 어떻게해야합니까?

+0

는 서버 헤더 정보에 액세스 할 수 있습니까? – wildandjam

+0

이해가 안되는데 왜 서버 헤더에 액세스해야하는지 설명해 주시겠습니까? –

+0

을 사용하여 출처를 교차 요청할 수 있습니다. 그 경우에 – serakfalcon

답변