示例#1
0
        private void btnSend_Click(object sender, EventArgs e)
        {
            // Manual Example. Use a dataset or fill with a database resource
            // Exemplo manual. Use um DataSet ou preencha com uma fonte de banco de dados
            DataTable dt = new DataTable();
            dt.Columns.Add("database_column_id", typeof(int));
            dt.Columns.Add("database_column_wathever", typeof(string));
            dt.Rows.Add(1, "wathever");

            Rest.Client client = new Rest.Client();
            client.server = "http://127.0.0.1:3000/api/";
            client.MakeRequest(dt);
        }
示例#2
0
        private void btnSend_Click(object sender, EventArgs e)
        {
            // Manual Example. Use a dataset or fill with a database resource
            // Exemplo manual. Use um DataSet ou preencha com uma fonte de banco de dados
            DataTable dt = new DataTable();

            dt.Columns.Add("database_column_id", typeof(int));
            dt.Columns.Add("database_column_wathever", typeof(string));
            dt.Rows.Add(1, "wathever");

            Rest.Client client = new Rest.Client();
            client.server = "http://127.0.0.1:3000/api/";
            client.MakeRequest(dt);
        }