- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have already run the sample code successfully by referencing document https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example. When I try to get response from IAS with url(https://test-as.sgx.trustedservices.intel.com/attestation/sgx/v1/sigrl/myGID) through AJAX, it does response success (Status Code: 200 OK) if I set my request dataType: "jsonp". Still, I cannot find a way to access the response header and content.
If I did not set my request dataType or set dataType="json", error shows "XMLHttpRequest cannot load https://test-as.sgx.trustedservices.intel.com/attestation/sgx/v1/sigrl/myGID. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mydomain.com' is therefore not allowed access."
Regards,
Chao
Link Copied
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page