javascript - Cross-Origin Request Blocked with Ajax (box.com) -
i try send request ajax the_document_id, can me fix bug
response message "networkerror: 401 unauthorized - https://view-api.box.com/1/documents”
cross-origin request blocked: same origin policy disallows reading remote resource @ https://view-api.box.com/1/documents. can fixed moving resource same domain or enabling cors.
as per new policies, cross origin requests blocked ajax requests. (unless have access remote server add http header) if server doesn't permit, can't load resources origin. best workaround loading file server side scripting language (like php) in same origin, requesting file ajax.
for more information see here : wikipedia
Comments
Post a Comment