Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Validate Password

openspecimen/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
passwordPassword that needs to be validate


http[s]:<host>:<port>/openspecimen/rest/ng/users/validatePassword/{password}

Use this URL to validate 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:

URLopenspecimen/rest/ng/users/validatePassword/{password}
MethodPOST
Requestapplication / json

Response

true / false

 

Conditions For Password Validation :

  1. Password Should be of length 8-20 characters
  2. Password Should contain at least one numeric field [ 0 - 9 ]
  3. Password Should contain at least one capital letter [ A - Z ]
  4. Password Should contain at least one small letter [ a - z ]

 

 Error Cases :

code
Applies to
Status Message
200All resourcesPassword has been validated successfully
400All requestsPassword is not in required format
500All requestsInternal server error, encountered server error while performing operations
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com