17
1
using System;
2
using System.Net;
3
4
public class Program
5
{
6
public static void Main()
7
{
8
WebClient client = new WebClient();
9
var jsonResponse = client.DownloadString("http://femah-additionator.azurewebsites.net/femah.axd/api/featureswitches");
10
string contentType = client.ResponseHeaders["Content-Type"];
11
12
Console.WriteLine("--- JSON response ---");
13
Console.WriteLine(jsonResponse);
14
Console.WriteLine("--- Content-Type ---");
15
Console.WriteLine(contentType);
16
}
17
}
Cached Result
EMPLOYEE SALARY CALCULATIONS
****************************************************
employee No :EMP232
Name :Chelsea Fredelin
Address :Colombo04
______________________________________________________
Designation :IT Consultant
Basic Salary :75000
Hourly Rate :6000
Hours Worked :15
Gross Wage :90000
Allowance :3750
Loan :6000
Bonus :22500
Net Salary :185250
****************************************************
employee No :EMP232
Name :Chelsea Fredelin
Address :Colombo04
______________________________________________________
Designation :IT Consultant
Basic Salary :75000
Hourly Rate :6000
Hours Worked :15
Gross Wage :90000
Allowance :3750
Loan :6000
Bonus :22500
Net Salary :185250