Endpoint to test if the host is reachable
-
URL
/api/ping
-
Method:
GET
-
URL Params
No params needed
-
Response:
- Code: 200
Content:{ ping : 'pong' }
- Code: 200
-
Sample Call:
/api/ping
Returns the hash value for the input password
-
URL
/api/password/encrypt
-
Method:
GET
-
URL Params
value=[String]
Password to encrypt -
Response:
- Code: 200
Content:{ hashedValue : [String] }
- Code: 200
-
Sample Call:
/api/password/encrypt?value=mypassword
Returns true if the hash value matches the password after being encrypted, false otherwise
-
URL
/api/password/compare
-
Method:
GET
-
URL Params
hash=[String]
Hash valuevalue=[String]
Password -
Response:
- Code: 200
Content:{ result : [boolean] }
- Code: 200
-
Sample Call:
/api/password/compare?hash=hashedpassword&value=mypassword
Generates a strong random password
-
URL
/api/password/generate
-
Method:
GET
-
URL Params
No params needed
-
Response:
- Code: 200
Content:{ value : [String] }
- Code: 200
-
Sample Call:
/api/password/generate
Returns the strength of a given password based on common rules
-
URL
/api/password/verify
-
Method:
GET
-
URL Params
value=[String]
Password to verify its strength -
Response:
- Code: 200
Content:{ result : [String], error: [Array.<String>] }
- Code: 200
-
Sample Call:
/api/password/verify?value=mypassword