Hi,
I am making a oData.request() call in the controller . While executing I am getting the error "Uncaught ReferenceError: oData is not defined" in the console.
Am I missing anything ? Has anyone faced a similar issue before ?
oData.request( { requestUri : "URL", method : "GET", headers :
{ "X-Requested-With" : "XMLHttpRequest", "Content-Type" : "application/atom+xml", "DataServiceVersion" : "2.0", "X-CSRF-Token" : "Fetch" } }, function(data, response) {
.....Regards,
Adren