HTTP status code generator
Generates a random HTTP status code.
internet.httpStatusCode
Generator settings
Generate data to see results here.
Parameters & Example
Generates a random HTTP status code.
internet.httpStatusCode(options?: { types? })- options
- Options object.
- options.types
- A list of the HTTP status code types that should be used.
Example
403Use synthetic data in a test environment.