From 987ca04849e5e167315d8be736e3e8021bf6004f Mon Sep 17 00:00:00 2001 From: Russel Marcelo Date: Mon, 20 Oct 2025 17:48:23 +0200 Subject: [PATCH 1/2] fix example http request --- distribution/examples/security/oauth2/api/rest.http | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/distribution/examples/security/oauth2/api/rest.http b/distribution/examples/security/oauth2/api/rest.http index 5eefdbf58b..593b805d24 100644 --- a/distribution/examples/security/oauth2/api/rest.http +++ b/distribution/examples/security/oauth2/api/rest.http @@ -2,11 +2,7 @@ POST http://localhost:7007/oauth2/token Content-Type: application/x-www-form-urlencoded -grant_type=password - &username=john - &password=password - &client_id=abc - &client_secret=def +grant_type=password &username=john&password=password&client_id=abc&client_secret=def # Execute the POST request above. You should be a response like that: # From 349ad0c30ff31f64ea0d39159c687b70e43975a2 Mon Sep 17 00:00:00 2001 From: t-burch <119930761+t-burch@users.noreply.github.com> Date: Mon, 20 Oct 2025 17:54:35 +0200 Subject: [PATCH 2/2] Update distribution/examples/security/oauth2/api/rest.http Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- distribution/examples/security/oauth2/api/rest.http | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/examples/security/oauth2/api/rest.http b/distribution/examples/security/oauth2/api/rest.http index 593b805d24..9f0d9486c5 100644 --- a/distribution/examples/security/oauth2/api/rest.http +++ b/distribution/examples/security/oauth2/api/rest.http @@ -2,7 +2,7 @@ POST http://localhost:7007/oauth2/token Content-Type: application/x-www-form-urlencoded -grant_type=password &username=john&password=password&client_id=abc&client_secret=def +grant_type=password&username=john&password=password&client_id=abc&client_secret=def # Execute the POST request above. You should be a response like that: #