-
Notifications
You must be signed in to change notification settings - Fork 0
Authentification API
Liam Boudadi edited this page Feb 5, 2025
·
13 revisions
POST / (change the user's password)
None
http code content-type response 200stringPassword changed successfully400stringNew password does not meet security requirements401stringCurrent password is incorrect
curl -L -X POST 'http://localhost:8080/authenticate/change-password' -H 'Authorization: Bearer {jwt} --data'
GET /{formationId} (gets details about the formation requested)
name type data type description formationId required int The specific formation id
http code content-type response 200json{"id": {int}, "name": {string}, "description": {string}}404N/A
curl -L -X GET 'http://localhost:8080/formation/{formationId}' -H 'Authorization: Bearer {jwt}'