Skip to content

No way to batch requests #5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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