2017-09-28 12 views
0

私はイオンアプリを開発中です。私の問題は次のとおりです。IONIC - 要求されたリソースに 'Access-Control-Allow-Origin'ヘッダーがありません。 Origin

Failed to load http://domainname.com/wc-api/v3/products?oauth_consumer_key=ck_1152790ee6b10fd740b98fa9668fbea1fc9fddbc&oauth_nonce=7LPagE0ILZsYph7HU713hqHilIWBXvkc&oauth_signature_method=HMAC-SHA256&oauth_timestamp=1506576888&oauth_version=1.0&oauth_signature=iGGEJFI1d9p7FbxMjxyNmPFOxjos0dzVuVOAFPgR9LI%3D: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. 

私を助けてください、私が使用しているwoocommerceのAPIが、データを取得することができません:私は、サーバーからデータを取得しようとすると、私はこれを得ました。

答えて

関連する問題