06-06-2025 12:15 AM - edited 06-06-2025 12:50 AM
Good morning, community!
I am trying to send a photo to the Telegram server via a multipart/form-data POST.
This is a screenshot from the Telegram API documentation:
I am trying to use LabVIEW's own POST Multipart.vi, but no matter what I do, it does not work.
The response from the server is always an error.
If I use CURL via cmd, it works perfectly. There are no problems.
I have attached the test VI with both methods. (I have changed the user ID and API token.)
Can someone please help me by telling me what I am doing wrong? - I have never used the POSTMultipart.vi before.
Thank you very much.
Best regards,
Tim
06-06-2025 02:36 AM
Not that I have any experience with this but since "Name" is the form field name it should be "photo" instead of "BeispielName".