diff --git a/IdentityEndpointsSample/app.http b/IdentityEndpointsSample/app.http index 059a06a..3a4378a 100644 --- a/IdentityEndpointsSample/app.http +++ b/IdentityEndpointsSample/app.http @@ -1,29 +1,30 @@ # For more info on HTTP files go to https://aka.ms/vs/httpfile +@url=https://localhost:7044 @user=admin @password=P@$$w0rd1 -POST https://localhost:7044/register +POST {{url}}/register Content-Type: application/json { - "username": {{user}}, - "password": {{password}} + "username": "{{user}}", + "password": "{{password}}" } ### -POST https://localhost:7044/login +POST {{url}}/login Content-Type: application/json { - "username": {{user}}, - "password": {{password}} + "username": "{{user}}", + "password": "{{password}}" } ### -@token = +@token= -GET https://localhost:7044/ +GET {{url}} Authorization: Bearer {{token}} \ No newline at end of file