403 error while making create schedule api call

#1

$.ajax({
url:url1 ,//https://api.zoom.us/v2/users/example@gmail.com/meetings"
type: “POST”,
data:JSON.stringify(datainfo),
username: "example@gmail.com",
dataType: “json”,
beforeSend: function (xhr) { xhr.setRequestHeader(‘Authorization’, “Bearer token”);
xhr.setRequestHeader(“Content-Type”,“application/json”)
},
success: function (reponse) {
//save data into a variable
console.log(reponse)
}
});

});

Here is my post call

0 Likes

#4

Duplicate of Create schedule meeting getting : 403 forbidden error and in response: Invalid CORS request

I will be following this here

0 Likes