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yi3YPDTxm7PXeQ_lj9JyK6nCDpb5gz5VIMNCYcLjWLz6R1pfbjZGkeID6oYTXSsoZSy6arof-rMG1phjnIdiXDwF4lFgOgqUoxbv58mvs73DUTKZjIEaw-N7A_ZQrC35JX6CaKUlnsaGepa2LQ-Pz6Smg1JipxOwjlH4TEBsBjifMjkedzfPm2NfwEy1qUHMLtLMLukIVH3iaSUVJ3hEZe6606ne1qwumT6Lnm3PAXSbF2Hxap89nbmG08EOlGx5VwMylEAVg
|
||
|
###
|
||
|
GET localhost:8080/welcome
|
||
|
|
||
|
###
|
||
|
GET localhost:8080/roles
|
||
|
Authorization: Bearer {{token}}
|
||
|
|
||
|
###
|
||
|
GET localhost:8080/hello
|
||
|
Authorization: Bearer {{token}}
|
||
|
|
||
|
###
|
||
|
POST localhost:8080/hello
|
||
|
Authorization: Bearer {{token}}
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"message": "test"
|
||
|
}
|
||
|
|