Skip to content

Commit e7ea3c8

Browse files
russelmrclt-burchcoderabbitai[bot]
authored
fix example http request (#2235)
* fix example http request * Update distribution/examples/security/oauth2/api/rest.http Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: t-burch <119930761+t-burch@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 3c78924 commit e7ea3c8

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • distribution/examples/security/oauth2/api

distribution/examples/security/oauth2/api/rest.http

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
POST http://localhost:7007/oauth2/token
33
Content-Type: application/x-www-form-urlencoded
44

5-
grant_type=password
6-
&username=john
7-
&password=password
8-
&client_id=abc
9-
&client_secret=def
5+
grant_type=password&username=john&password=password&client_id=abc&client_secret=def
106

117
# Execute the POST request above. You should be a response like that:
128
#

0 commit comments

Comments
 (0)