From bbdbb387111bfcfd155d41da59af703eb2dcc4fe Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Tue, 26 Mar 2024 17:54:32 -0700 Subject: [PATCH] postman for vscode --- rest.http | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/rest.http b/rest.http index e80ad51..75892c2 100644 --- a/rest.http +++ b/rest.http @@ -1,3 +1,8 @@ +### +POST http://localhost:1323/api/v1/register?username=test&password=test +### +POST http://localhost:1323/api/v1/login?username=test&password=test +### GET http://localhost:1323/api/v1/demo/hello ### GET http://localhost:1323/api/v1/demo/hello/james @@ -5,5 +10,12 @@ GET http://localhost:1323/api/v1/demo/hello/james GET http://localhost:1323/api/v1/demo/hello/body Content-Type: application/json -name = "body" -### \ No newline at end of file +{ + "name": "body" +} +### + +POST http://localhost:1323/api/v1/login?username=test + +### +GET http://localhost:1323/api/v1/demo/protected \ No newline at end of file