Hello, in my project I need to read the events that the user has in Google calendar, what I do is follow the procedure of this web page and when I am requesting the data, it shows an error status 405 method, saying that I must enable the "cors" and I do not know in which part of the api that I have in my google account I can do that, or if I have to initiate a curl in php to enable that.
Code:
Hello, in my project I need to read the events that the user has in Google calendar, what I do is follow the procedure of this web page and when I am requesting the data, it shows an error status 405 method, saying that I must enable the "cors" and I do not know in which part of the api that I have in my google account I can do that, or if I have to initiate a curl in php to enable that. Code:
the last code is in a php file that i call from other php file with a request GET, with javascript pure
Code:
Expected Behavior
Select a any date and the browser show: Event1 Event2 Event3 ...
Actual Behavior
Specifications
PHP 7.2.5
):