Answer the question
In order to leave comments, you need to log in
Why is an https domain being blocked by the Access-Control-Allow-Origin rule?
I've been working on vk.api for maybe two weeks now)))
The crux of the matter is this. I'm trying to get group photos and display them on the site via vk.api. I wrote a php script for this. The whole joke is that if I run this script manually, it works and the data comes in the right format. There are no problems here. But if the request is executed when the site loads, then the Access-Control-Allow-Origin error takes off. And this is despite the fact that the site is on the https protocol and the domain is specified as the base one in the application settings. In the server settings, the Access-Control-Allow-Origin "*" option is specified, and on the site I have already screwed the Instagram API, which works fine. What can be a jamb?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question