public ActionResult InitGame() { var initCode = _quest.GenerateInitCode(); _initCodePolling.StartRequest(initCode); var url = Url.Action(nameof(VerifyInitCode), new { initCode }); Response.Headers.Add("Location", url); return(Ok(new { initCode })); }