Url generator
Generates a random http(s) url.
internet.url
Generator settings
Generate data to see results here.
Parameters & Example
Generates a random http(s) url.
internet.url(options?: { appendSlash?, protocol? })- options
- Optional options object.
- options.appendSlash
- Whether to append a slash to the end of the url (path). Defaults to a random boolean value.
- options.protocol
- The protocol to use. Defaults to 'https'.
Example
"https://confused-ocelot.biz"Use synthetic data in a test environment.