title: How to populate DropDown using Json string from Web Api (MVC)
body: <p>I am working with <strong>API</strong> to get list of country.</p>
  
  <p><strong>Following link display <code>JSON</code> of countries :</strong></p>
  
  <p><a href="http://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/country?format=json" rel="nofollow">http://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/country?format=json</a></p>
  
  <p>Using following code for access JSON object. </p>
  
  <pre><code>System.Net.WebClient wc = new System.Net.WebClient();
  var response = wc.DownloadString("http://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/country?format=json"); 
  </code></pre>
  
  <p>But I have some issues for accessing it. I want to use this <code>response</code> variable to populate <code>DropDown</code> form these countries.</p>
  
  <p>Note: I am calling the API to get the list of countries.And i want to return SelectList here by using Api's response. After that i want to use this SelectList to fill DropDown on View</p>