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

Add support for file attachments in the transactional (tx) API. #1243

Merged
merged 4 commits into from
Mar 19, 2023

Conversation

knadh
Copy link
Owner

@knadh knadh commented Mar 19, 2023

No description provided.

MatiSSL and others added 4 commits March 19, 2023 14:05
The original PR accepts files to the `/tx` endpoints as Base64 encoded
strings in the JSON payload. This isn't ideal as the payload size
increase caused by Base64 for larger files can be significant,
in addition to the added clientside API complexity.

This PR adds supports for multipart form posts to `/tx` where the
JSON data (name: `data`) and multiple files can be posted simultaenously
(one or more `file` fields).

Co-authored-by: MatiSSL <[email protected]>
@knadh knadh merged commit 55f7eca into master Mar 19, 2023
@knadh knadh deleted the tx-attach branch March 25, 2023 19:22
@msbt msbt mentioned this pull request Apr 12, 2023
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.

1 participant