Skip to content

faresyusuf/spring-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-rest

curl -X POST --header 'Content-Type: application/json' -d '{ "password": "admin","login": "fares","email":"[email protected]","firstName":"fares","lastName":"yusuf"}' 'http://localhost:8080/api/register'

curl -X POST --header 'Content-Type: application/json' -d '{ "password": "admin","username": "admin"}' 'http://localhost:8080/api/authenticate'

curl -X GET --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorin: Bearer the_token' 'http://localhost:8080/api/foradmin'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published