api-client
api-client copied to clipboard
Add file upload support
It would be great to be able to upload files to the API directly, probably something like this:
await client.upload("POST /files", {
variables: { body: file }
});
And use FormData for the request body.