isCreated function
Matcher
isCreated()
Matches an HTTP response with status code 201 (Created).
Example:
expect(response, isCreated());
Implementation
Matcher isCreated() => hasStatus(201);
Matches an HTTP response with status code 201 (Created).
Example:
expect(response, isCreated());
Matcher isCreated() => hasStatus(201);