Basically, in this example we are going to post a Name,Surname,Phone and Email data in JSON form. Then we will get our data as response and deserialize to object from JSON. Finally we will print name value which we send first. Firstly, we need to install Newtonsoft.Json package using nuget. Follow instructions on https://www.newtonsoft.com/json In […]
First, create a WinForms application in Visual Studio. Click on button and write the code below. Change YOUR_URL and your_page. This code block will post our params same as HTML forms. Here is our your_page.php You will see response from your_page.php when you submit your form from our C# application.