title: Can I Connect to dropbox api from localhost during development?
body: <p>I'm building a web application where I want to explore files on dropbox using their API. When I created the app on dropbox, I entered an url for the site. Now I can't figure out if it is possible while in development mode also to access dropbox from localhost or do I need to deploy first?</p>
  
  <p>//Updated</p>
  
  <p>The code from ASPNET with DropNET is like this</p>
  
  <pre><code> private DropNetClient _dropboxClient = new DropNetClient("1234", "6789");
  
      [HttpPost]
      public ActionResult Signup()
      {
  
          Session["DropNetUserLogin"] = _dropboxClient.GetToken();
          var url = _dropboxClient.GetTokenAndBuildUrl(Url.Action("Callback", null, null, Request.Url.Scheme));
  
          return Redirect(url);
      }
  
      [HttpGet]
      public void Callback(string oauth_token)
      {
          var userlogin = Session["DropNetUserLogin"] as UserLogin;
          _dropboxClient.UserLogin = userlogin;
  
  
          Session["DropNetUserLogin"] = _dropboxClient.GetAccessToken();
          var accountinfo = _dropboxClient.AccountInfo();
      }
  </code></pre>
  
  <p>Keys are changed :)</p>