Ask away

NEST component: AJAX request without whitelist

Marc 05/18/17 07:01

34 views

Question CategoryComponent,Properties,Form Event,Data Binding

Number of completed projects0

Question StatusUnsolved

  • nest component
  • AJAX
  • Whitelist

Question

I've been trying to make an ajax request component $.ajax({ type: "GET", dataType: "json", url: "http://testing.com/ws/check?" + outputData, success: onSuccess, error: onError }); But it fails with a 404 error, after a long search I found that I was missing the whitelist plugin but from what I've search Whitelist is only for Android and IOS, will windows work? and blackberry? is there a way to do this without adding whitelist? If the white list is really required why does it give me this error? Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.

Answers

0

Answer

Project

Image

Comment