0

I want to add a test around an internal API in Drupal 8 that only accepts a POST payload and fires off some services. I am getting the following:

"curl error 3"

From Guzzle when trying:

$this->client->post('/path/to/api/123', ...opts

What would the base uri be under a Kernel test? Does this really need to be a Functional test?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.