I cant get Data from api


I cant Get data from api



// If we need it in place where we don't have access to app instance or before we init the app
Framework7.request.get('somepage.html', function (data) {

// After we init the app we can access it as app instance property
var app = new Framework7({ /*...*/ });

app.request.get('somepage.html', function (data) {

app.request.get('blog-post.php', { foo:'bar', id:5 }, function (data) {
  console.log('Load was performed');