You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❓ Question
Is sending attachments using JSON supported? I want to send a text file (log file) using the JSON POST method. I have tried base64 encoding the file but can't get it to work.
The text was updated successfully, but these errors were encountered:
If you have more than one attachment, you can chain them. But the easiest way is to just send the files along with the payload. Especially if you're using curl
# Send a notification with an attachment:
curl -X POST \
-F 'urls=mailto://user:[email protected]' \
-F 'body=test message' \
-F [email protected] \
http://localhost:8000/notify
# Send multiple attachments; just make sure the attach keyword is unique:
curl -X POST \
-F 'urls=mailto://user:[email protected]' \
-F 'body=test message' \
-F [email protected] \
-F attach2=@/my/path/to/Apprise.doc \
http://localhost:8000/notify
❓ Question
Is sending attachments using JSON supported? I want to send a text file (log file) using the JSON POST method. I have tried base64 encoding the file but can't get it to work.
The text was updated successfully, but these errors were encountered: