Access-Control-Allow-Origin error sending a jQuery Post to Google API's

前端 未结 7 1670
小蘑菇
小蘑菇 2020-11-22 14:04

I read a lot for the \'Access-Control-Allow-Origin\' error, but I don\'t understand what I have to fix :(

I\'m playing with Google Moderator API, but when I try to a

7条回答
  •  悲哀的现实
    2020-11-22 14:29

    In my case the sub domain name causes the problem. Here are details

    I used app_development.something.com, here underscore(_) sub domain is creating CORS error. After changing app_development to app-development it works fine.

提交回复
热议问题