More JWT work
This commit is contained in:
10
webgoat-lessons/jwt/src/main/resources/js/jwt-final.js
Normal file
10
webgoat-lessons/jwt/src/main/resources/js/jwt-final.js
Normal file
@ -0,0 +1,10 @@
|
||||
function follow(user) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'JWT/final/follow/' + user
|
||||
}).then(function (result) {
|
||||
$("#toast").setTextContent(result);
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user