Skip to content
Advertisement

Tag: behat

Guzzle 6 send multipart data

I’d like to add some data to a Guzzle Http Request. There are file name, file content and header with authorization key. but I get error Catchable Fatal Error: Argument 2 passed to GuzzleHttpPsr7MultipartStream::addElement() must be of the type array, string given, called in vendorguzzlehttppsr7srcMultipartStream.php on line 70 and defined in vendorguzzlehttppsr7srcMultipartStream.php line 79 In Guzzle 6 documentation is something

Behat over Cucumber in PHP

Don’t get me wrong. I think both projects are fantastic. But as both php and ruby developer I wonder if there are there any compelling reasons, besides possible language barrier, why would one choose …

Advertisement