title: How to make HTTP Request work in Flutter web?
body: <p>I am trying to fetch data from My site link: <a href="http://mrmatjar.com/kaka/dataaza.php" rel="noreferrer">http://mrmatjar.com/kaka/dataaza.php</a></p>
  
  <p>Here is my code </p>
  
  <pre><code>import 'dart:convert';
  import 'package:http/http.dart' as http;
  import 'package:mrmatjar_afflite/shopobj.dart';
  class Operations{
   static Future&lt;List&lt;ShopObj&gt;&gt; loly() async{
      List&lt;ShopObj&gt; ak= new List&lt;ShopObj&gt;();
        var res = await http.get(Uri.encodeFull("https://mrmatjar.com/kaka/dataaza"),headers: {"Accept":"application/json"});
  
      print(res);
      var v = json.decode(x.body);
      for(var h in v){
          ak.add(new ShopObj(h['title'], h['cost'], h['earn'], h['image']));
      }
      return ak;
    }
  }
  </code></pre>
  
  <p>But it is not working.
  when I run it the Web app Breaks and when I use Break point it shows file call by 
  blinding.dart</p>