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

Convert the creation of a message to multipart/form-data. #234

Conversation

thomaspj10
Copy link
Contributor

Fixes #233

As @Whitelisted1 mentioned the API got changed from requiring JSON data to multipart/form-data in order to support file uploads. This PR reflects these changes into the library. Be aware that these changes are not adequately tested, so they may brake other stuff.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for your PR, we will deal with your PR as soon as possible.🤗

@Soulter Soulter merged commit 8d198da into Soulter:master Jun 7, 2024
9 of 12 checks passed
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.

Error: "An error occurred"
2 participants