I can get the URL from storage.googleapis.com wherein I should do a 'PUT' request with my image file.
I've encountered some errors in uploading the file on the given URL:
Error:
XMLHttpRequest cannot load http://storage.googleapis.com/xxxxxxxxxxx. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:xxxxx' is therefore not allowed access.
Jestoni Salonga
Hi, I'm trying to upload using REST API.
I can get the URL from storage.googleapis.com wherein I should do a 'PUT' request with my image file.
I've encountered some errors in uploading the file on the given URL:
Error:
XMLHttpRequest cannot load http://storage.googleapis.com/xxxxxxxxxxx. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:xxxxx' is therefore not allowed access.
Any help would be appreciated.
This link should help with File uploads using REST:
http://devcenter.kinvey.com/rest/guides/files#top
Thanks,
Pranav
Kinvey Support
Pranav J
This link should help with File uploads using REST:
http://devcenter.kinvey.com/rest/guides/files#top
Thanks,
Pranav
Kinvey Support
-
Why am I getting "SignatureDoesNotMatch" error when uploading a file?
-
Why am I getting an "IncompleteRequestBody" error when sending a DELETE request?
-
Is there a default sort order to collections fetched without an explicit sort query?
-
Is it possible to set ACLs on all users so that only administrators can query for users (without dis
-
Flex SDK
-
Query Bug in Backend?
-
Can analytics data be retrieved via Java SDK or REST?
-
Accesing REST API from a server without a user?
-
What json is required to assign a user group either read/write?
-
LDAP Authorization
See all 120 topics