This API available for validate the password. You can validate password through the HTTP POST method, URL http://<host>:<port>/catissuecoreopenspecimen/rest/ng/users/validatePassword/{password}
Use this resource for validate the password. Use HTTP POST method to call this API by passing the below details in JSON format.
Below are the attributes which need to be sent in the request body:
Parameter | Details |
---|---|
password | Password Password that needs to be validate |
http[s]:<host>:<port>/openspecimen/rest/ng/users/validatePassword/{password}
Use this URL to validate
...
API Example password in openSpecimen application.
Result:
The response of this request will contains the details of the validated password.
Below is the example of the validate password:
URL | catissuecoreopenspecimen/rest/ng/users/validatePassword/{password} |
Method | POST |
Request | application / json |
Response | true / false |
...
code | Applies to | Status Message |
---|---|---|
200 | All resources | Password has been validated successfully |
400 | All requests | Password is not in required format |
500 | All requests | Internal server error, Encountered encountered server error while performing operations |
...