Skip to content

mtorak/spring-boot-api-security-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Boot-With-JWT-token-example

Spring Boot With JWT token example

curl -X POST http://localhost:8080/authenticate -H "Content-Type:application/json" -d "{"userName":"john@gmail.com","password":"test"}"

curl -X POST http://localhost:8080/authenticate -H "Content-Type:application/json" -d "{"userName":"test@gmail.com","password":"test"}"

curl -X GET http://localhost:8080/Student -H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJEZW1vIEFwcCIsImlhdCI6MTU2MzA5NTE1NCwiZXhwIjoxNTYzMDk1NjU0LCJSb2xlcyI6WyJBZG1pbiJdfQ.8XyZGx9p5yOtSKzSeMkf33S5mItuJBP0y2yMM4pbGIQAJPs8lBixP2tp6-kdCEG92PcJoALFz45qFEFKid2-uA"

About

Spring boot API security with JWT Tokens.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages