From 5f56622fdfe457df69ecaeb81c8253cf96cda796 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Thu, 23 Nov 2017 11:43:53 +0100 Subject: Removed slash from GetLatestReading route. --- AirPollutionWebApi/Controllers/ReadingsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AirPollutionWebApi/Controllers') diff --git a/AirPollutionWebApi/Controllers/ReadingsController.cs b/AirPollutionWebApi/Controllers/ReadingsController.cs index 9173f72..19b87e7 100644 --- a/AirPollutionWebApi/Controllers/ReadingsController.cs +++ b/AirPollutionWebApi/Controllers/ReadingsController.cs @@ -23,7 +23,7 @@ namespace AirPollutionWebApi.Controllers else return NotFound(); } - [Route("/api/Readings/latest")] + [Route("api/Readings/latest")] public IHttpActionResult GetLatestReading() { var readings = SqlOperator.GetAllReadings(); -- cgit v1.2.3