title: Cannot get body of POST from Nancy REST server embedded in Unity game
body: <p>I'm trying to set up a route for a Nancy POST, where I wish to submit an object in Json format, and use this to trigger an event in the Unity runtime - what I thought should be fairly standard stuff. </p>
  
  <p>I thought that by following the example in <a href="https://stackoverflow.com/questions/10723044/nancyfx-deserialize-json">NancyFX : Deserialize JSON</a> I would be able to bind the body of the request to an object and then use that elsewhere, however I am actually getting this rather mysterious error:</p>
  
  <pre><code>Error CS1061: Type 'server.RESTServer' does not contain a definition for 'Bind' and no extension method 'Bind' of type 'server.RESTServer' could be found (are you missing a using directive or an assembly reference?) (CS1061) (server)
  </code></pre>
  
  <p>This is the relevent section from the offending source:</p>
  
  <pre><code>using Nancy;
  
  namespace server
  {
      public class RESTServer : Nancy.NancyModule, RESTInterface
      {
          public class LevelInfo
          {
              public string index;
          }
          public RESTServer ()
          {
              Delete ["/current/level"] = _ =&gt; 
              {
                  UnloadLevel();
                  return HttpStatusCode.OK;
              };
              Get ["/current/level"] = _ =&gt; Level;
              Post ["/current/level"] = _ =&gt; 
              {
                  LevelInfo body = this.Bind&lt;LevelInfo&gt;(); //This is the offending line
                  // snip rest of implementation
              }
          }
      }
  }
  </code></pre>
  
  <p>My Mono/Monodevelop version info is <a href="http://pastebin.com/raw.php?i=vZLptqjv" rel="nofollow noreferrer">on pastebin here</a>, and the Assembly Browser shows <a href="http://pastebin.com/raw.php?i=NF45jL1Y" rel="nofollow noreferrer">this, also linked on pastebin,</a> for Nancy.</p>
  
  <p>I don't generally do much .net development so I'm sure it's something really simple, but I've already lost an afternoon trying to resolve this issue... Any help would be much appreciated.</p>