requests top-level constant

String const requests

Client HTTP request

Implementation

const requests = 'REQUESTS:\n'
    '\thttp://localhost:{port}/generate/{collection}?parameters\n'
    '\t\tcollection\t: default = latin\n'
    '\t\tsize\t\t: default = 15\n'
    '\t\tnumber\t\t: default = 1\n'
    '\t\tjson\t\t: otherwise text\n'
    '\t\texclude\t\t: as string, items are separated by comma\n'
    '\thttp://localhost:{port}/license ➜ show license.\n'
    '\thttp://localhost:{port}/version ➜ show application version.\n'
    '\thttp://localhost:{port}/collections ➜ json with id\'s of custom items\n'
    '\thttp://localhost:{port}/stop ➜ Stop daemon.\n'
    '\thttp://localhost:{port} ➜ show web UI.\n'
    '\tExamples:\n'
    '\t\thttp://localhost:4040/generate/french?size=29&number=10&json\n'
    '\t\thttp://localhost:4040/stop ➜ Stop daemon.\n';