Closed JohanLarsson closed 5 years ago
as far as i know, the browser (or server?) ignore the double slashes, and in this instance is probably a typo
Tested it with:
namespace AspBox.Controllers
{
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
[ApiController]
public class FoosController : ControllerBase
{
[HttpGet("/api//foos")]
public ActionResult<IEnumerable<string>> Get()
{
return new string[] { "value1", "value2" };
}
}
}