NDB.RemoteDB.CreateDocument C# (CSharp) Method

CreateDocument() public method

Create a new document. If the document has no ID field, it will be assigned one by the server.
public CreateDocument ( string server, string db, string content ) : void
server string The server URL
db string The database name
content string The document contents (JSON).
return void
        public void CreateDocument(string server, string db, string content)
        {
            DoRequest(server + "/" + db, "POST", content, "application/json");
        }