...

/

Solution Review: Restricting Write Requests

Solution Review: Restricting Write Requests

Review the solution of the "Restricting Write Requests" challenge.

We'll cover the following...

Overview

The complete solution can be found in the following playground:

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*"
}
The final setup with the secured POST endpoint

Solving the challenge

Here are the steps to solve the challenge:

  • First, we configure the correct Authority setting on line 16 of the Program.cs ...