diff --git a/Program.cs b/Program.cs index bb78dff..f32fd18 100644 --- a/Program.cs +++ b/Program.cs @@ -60,7 +60,7 @@ ctx.RequestAborted.ThrowIfCancellationRequested(); - var instructionId = ctx.Request.RouteValues["id"] as string; + var instructionId = ctx.Request.Headers["id"] as string; string key = ctx.Request.Headers["apikey"]; ctx.Response.Headers.Add("Content-Type", "application/json");