What is the recommended way to test Drupal REST API endpoints for response correctness in automated tests?
-
A
Using ResourceTestBase or extending BrowserTestBase with HTTP client assertions
-
B
Manually requesting the endpoint via a browser during QA sprints
-
C
Checking the Drupal log for REST module errors after each request
-
D
Validating the OpenAPI schema file without making real requests