diff --git a/src/Managing.Api/Controllers/DataController.cs b/src/Managing.Api/Controllers/DataController.cs index 486114b2..bbfda255 100644 --- a/src/Managing.Api/Controllers/DataController.cs +++ b/src/Managing.Api/Controllers/DataController.cs @@ -84,8 +84,8 @@ public class DataController : ControllerBase /// /// The timeframe for which to retrieve tickers. /// An array of tickers. - [HttpPost("GetTickers")] - public async Task>> GetTickers(Timeframe timeframe) + [HttpGet("GetTickers")] + public async Task>> GetTickers([FromQuery] Timeframe timeframe) { var cacheKey = string.Concat(timeframe.ToString()); var tickers = _cacheService.GetValue>(cacheKey);