ZWeb.API.Words.WordsController (Portico/Z v0.1.0)
API Endpoint that generates random words.
See Ola
and ZWeb.PasswordsLive
for more information.
Link to this section Summary
Functions
Generate a random word.
Link to this section Functions
Link to this function
index(conn, params)
Generate a random word.
Values will be returned in JSON format as a list of strings, for example: ["stonisherr","oylesslyi","dometera","retrievalu"]
Params
This API accepts the following parameters:
num
(optional) - Number of words to generatelength
(optional) - Length of each word to generate