From bfa28e07da3528398932cf539ae4b580d4ae51e0 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Fri, 5 Apr 2024 17:53:50 -0700 Subject: [PATCH] updated rest testing --- rest.http | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rest.http b/rest.http index ad8faed..bdc77a3 100644 --- a/rest.http +++ b/rest.http @@ -2,12 +2,12 @@ POST http://localhost:1323/api/v1/auth/register Content-Type: application/x-www-form-urlencoded -name=test&password=test1234! +username=test&password=test1234! ### Login with user POST http://localhost:1323/api/v1/auth/login Content-Type: application/x-www-form-urlencoded -name=test&password=test1234! +username=test&password=test1234! ### Login with the admin token @@ -23,7 +23,7 @@ Content-Type: application/json Authorization: Bearer { - "name": "test", + "username": "test", "scopes": [ "recipe:create" ] @@ -35,7 +35,7 @@ Content-Type: application/json Authorization: Bearer { - "name": "test", + "username": "test", "scopes": [ "recipe:create" ]