Hi everyone,
I'm trying to create a script which will create automatically a new task in trello when my customer create a ticket in Zoho support. To do that i need to use the getRecords method of Zoho Support API but this is where my problem starts. Indeed, when i use this url :
directly into my browser it works well, i get the json return. But when i'm trying to create my request using ajax, this is what i have as return :
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access
This is my code :
$.ajax({
type : "GET",
dataType : "json",
success : function(response, statut){
console.log($(response));
},
error : function(resultat, statut, erreur){
console.log($(erreur));
},
complete : function(resultat, statut){
console.log("appel terminé");
}
});
Could you tell what i'm doing wrong please, try to find answer on Google but without success...
I really thank you in advance and waiting for your ideas.
Best,
Quentin