Skip to content

File (base64) in JSON Body #408

Answered by Waboodoo
rons4 asked this question in Q&A
Jan 29, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi,
Currently, this is not possible with the app, due to its limited capabilities of interacting with files. I have a vague vision of one day introducing a feature that allows you to read arbitrary files as part of the Scripting feature, which would enable something like this, but it will be a while before that becomes a reality.
I'm not aware of a way to do this with Tasker. It would need to read the file and send its contents as a variable, ideally already base64-encoded. It could then be received in a variable and used by HTTP Shortcuts. But this would only work with very small files, as it would quickly run into the size limit that Android enforces for inter-app-communication.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rons4
Comment options

You must be logged in to vote
1 reply
@Waboodoo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants