Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files api: add "upload" #2

Merged
merged 1 commit into from
Sep 28, 2022
Merged

Conversation

gehrisandro
Copy link
Collaborator

Hi @nunomaduro

A PR to add the missing file upload.

The "Content-Type" header creation is a bit ugly but I had no better idea while still using your initial concept with the PSR7-Request creation.

@nunomaduro nunomaduro merged commit 0581db2 into openai-php:main Sep 28, 2022
@nunomaduro
Copy link
Contributor

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants