Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Uncaught ReferenceError: oData is not defined

$
0
0

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


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>