post method

TestRequest post(
  1. String path
)

Create a POST request for testing.

path The path to request (e.g., '/api/users'). Returns a TestRequest builder for the POST request.

Implementation

TestRequest post(String path) {
  return TestRequest(_client, 'POST', path, baseUrl);
}