rest api 에 json 값 보내기1 C# 주소에 요청 보내고 json 값 받기 using System.Net; namespace WindowsFormsApp1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); button1.Click += request; } private void request(object sender, EventArgs e) { using(WebClient wc = new WebClient()) { var json = new WebClient().DownloadString("https://en.wikipedia.org/w/api.php?action=parse§ion=0&prop=text&format=json&page=pizza"); Console.WriteLine(j.. 2019. 1. 4. 이전 1 다음