A very simple password generation API.
- Download latest binary from the releases page or build binary:
$ chmod +x .build.bash $ ./build.bash [VERSION] - Executing the binary will start a REST API server on port
3334.
URL : /passwords
Method : GET
Query Params :
numCandidates: number of password candidates (int, optional, default=4)lengthof password candidates (int, optional, default=8)numDigitsthe number of digits (int, optional, default=0)numSymbolsthe number of symbols (int, optional, default=0)replaceVowelsreplace (german) vowels of password candidates randomly (bool, optional, default=false)
Code : 200 OK
Content :
[
"candidates": [
"password_candidate_1",
"password_candidate_1",
...
"password_candidate_n"
]
]
$ curl -X GET "http://localhost:3334/passwords?length=32&numDigits=4&numSymbols=4&replaceVowels=true"