From 4746959021b7be87c7f58d86465e216b4d5819e3 Mon Sep 17 00:00:00 2001 From: ddangelorb Date: Fri, 20 Aug 2021 09:48:41 -0300 Subject: [PATCH] Adding load instructions --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 87a6b34..2227cac 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ Once the dependencies are properly installed, follow the steps below: wpdauth=# \q ``` +- Make sure the load mode ran successfully as described in the [load folder](https://github.com/IGSD-UoW/wpdAuth/tree/main/load) + - Install dependencies ```console @@ -69,7 +71,7 @@ $ curl -X GET http://localhost:8080/users/me - Make a POST request to `/users/signin` with the default admin user we programatically created to get a valid JWT token ``` -$ curl -X POST 'http://localhost:8080/users/signin?username=admin&password=admin' +$ curl -X POST 'http://localhost:8080/users/login?username=admin&password=admin' ``` - Add the JWT token as a Header parameter and make the initial GET request to `/users/me` again