How to send https get request on js and show it to the user.
OfirApps (0)

hello, im looking a long time for the answer and i cant find it anywere (How to send https get request on js and show it to the user.)

You are viewing a single comment. View All
Answered by ruiwenge2 (1210) [earned 5 cycles]
View Answer
ruiwenge2 (1210)

@OfirApps thats because the CORS policy doesn't allow you to fetch from another website. you can only fetch from your own website. if you want to fetch from another website, you have to change the method to no-cors, but you won't get a response.