Skip to content

No way to batch requests #5

@shadowhand

Description

@shadowhand

It would be good to expose the batch endpoint. Ideally something like this:

$create_users = [
    'rid1' => ['first_name' => 'John', 'last_name' => 'Doe'],
    ...
];
$responses = $wheniwork->batch('post', 'users', $create_users);

When the $responses come back, I would like to have it indexed by the keys of requests, rather than assuming FIFO ordering.

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