コード例 #1
0
ファイル: musicList.cs プロジェクト: Caro-CF/ApiMusic
        private async void musicList_Load(object sender, EventArgs e)
        {
            var reponse = await APICall.GetALL();

            textBox1.Text = APICall.formatJson(reponse);
        }
コード例 #2
0
ファイル: Formulaire.cs プロジェクト: Caro-CF/ApiMusic
        private async void create_Click(object sender, EventArgs e)
        {
            var reponse = await APICall.Post(tbTitle.Text, tbArtist.Text);

            //ou je l'envoie ? envoie = APICall.formatJSON(reponse);
        }