Access-Control-Allow-Origin fo JS

Andriy Kostiuchenko January 13, 2020

Hi all!

Is there anybody to talk developers about a problem:

https://snipboard.io/SJH1DK.jpg

https://snipboard.io/rHhOGk.jpg

2 answers

1 vote
Adria Alonso
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 13, 2020

Hello Andriy,

What are you trying to develop¿?

IF you are requesting data from servers in from diferent domains, the server has to allow that, for security reasons its not common practice.

CROSS ORIGIN REQUESTS

https://en.wikipedia.org/wiki/Cross-origin_resource_sharing

Andriy Kostiuchenko January 13, 2020

Who is configured the server with that scripts?

Who is include that script to template of page?

Adria Alonso
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 13, 2020

jsd-portal server does not allow cross origin requests.

You are making GET  request

0 votes
Andriy Kostiuchenko January 15, 2020

OK

I just install 

https://chrome.google.com/webstore/detail/cors-unblock/lfhmikememgdcahcdlaciloancbhjino?hl=en-US

and now the page is loading without problems

It's a temporary decision 

Suggest an answer

Log in or Sign up to answer