private async void musicList_Load(object sender, EventArgs e) { var reponse = await APICall.GetALL(); textBox1.Text = APICall.formatJson(reponse); }
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); }