Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

"A stream factory is required to create a request" #18

@Jafo232

Description

@Jafo232

Not sure what I am doing wrong here:

        $builder = new ClientBuilder();

        $client = $builder->createClientV3(config('shortcut.apiKey'));

        $params = ['group_id' => '121265f3-12f-4b0f-b121-129cf11a8'];

        $stories = $client->post('stories/search', $params);

The response I get is:

Cannot create request: A stream factory is required to create a request with a non-empty string body. at /home/vagrant/kpi/vendor/php-http/client-common/src/HttpMethodsClient.php line 135

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions