Get REST Call is not returning the string I put in url
- by wizage
I have very simple code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Calculator.Controllers
{
public class CalcController : ApiController
{
public string Get(string type)
{
return type;
}
}
}
And…