Skip to content

Commit f20bae1

Browse files
authored
Update README.md
1 parent bf79312 commit f20bae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ Use one of the several ways of running a Spring Boot application. Below are just
3131
You'll get a response as in below.
3232

3333
`{"username":"yourUsername","tcno":"12512561125"}`
34-
2. Generate an access token by api/login url.
34+
2. Generate an access token by /api/login url.
3535

3636
`$ curl -H "Content-Type: application/json" -X POST -d "{\"username\": \"yourUsername\", \"password\": \"yourPassword\"}" http://localhost:8080/api/login`
3737

3838
You'll be getting an access token similar to this.
3939

4040
`eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ5b3VyVXNlcm5hbWUiLCJleHAiOjE1NTI0NDMzNjZ9.0WSCg4vaP7BVeJz8tQnL3s-BYjBB6UWXlQKCZHm1_zqEVIiA8_71Ni7tbPDm2DbW-Qc_fPP9CQF1jKcRC9njFQ`
4141

42-
3. Use the token to access content available to all authenticated users, through the RESTful API
42+
3. Use the token to access content available to all authenticated users, through the RESTful API.
4343

4444
Http.Get request example:
4545
`curl -i -H "Accept: application/json" -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ5b3VyVXNlcm5hbWUiLCJleHAiOjE1NTI0NDMzNjZ9.0WSCg4vaP7BVeJz8tQnL3s-BYjBB6UWXlQKCZHm1_zqEVIiA8_71Ni7tbPDm2DbW-Qc_fPP9CQF1jKcRC9njFQ" -X GET http://localhost:8080/api/user/find/all`

0 commit comments

Comments
 (0)