Reputation: 1258
I was attempting to run my asp.net web API project in debug mode and then call it from postman. I tried calling the default api values controller but my request keeps timing out saying it cant reach the server:
Values Controller:
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "value1", "value2" };
}
// GET api/values/5
public string Get(int id)
{
return "value";
}
// POST api/values
public void Post([FromBody]string value)
{
}
// PUT api/values/5
public void Put(int id, [FromBody]string value)
{
}
// DELETE api/values/5
public void Delete(int id)
{
}
}
Postman response:
Web Browser Help Page:
Is there some additional setup I need to do? Or common issues related to this?
Upvotes: 1
Views: 2257
Reputation: 164
It will be fixed if you do the ssl certificate offline from Settings.
Upvotes: 3