Cannot Get statements, but also without error
Closed this issue · 0 comments
LiangZhang2017 commented
Here, I have changed the auth information in xapiwrapper.js (it will automatically obtain the input value from HTML web page). When I run the code for getting statements, it responses without error. But I still don't know if the statements is obtained or not. I also tried to send statements to LRS (using the method "Send Statement without Callback" in Readme), I think it failed. Because I did not find any new sttements in LRS. Here, I use Learning Locker as the LRS.
- Do you have some trick to test if the current code can query the LRS? How to display the statements for making sure it?
2)When I use the command line "ADL.XAPIWrapper.log("[" + resp_obj.id + "]: " + resp_obj.xhr.status + " - " + resp_obj.xhr.statusText);" it also shows error like that .id is not defined.
Sorry I am just a new guy in xAPI field, and some question maybe very basic. Thanks for your help.