Code for batch upload to API - help appreciated

7 views
Skip to first unread message

Jan Helebrant

unread,
Sep 8, 2025, 2:03:07 PMSep 8
to Safecast Device Discussions and Support
Hi, 
I am trying to put together (with Grok) a Windows EXE for bacth upload of my LOGs to the API - you can check the latest, but not working version (uses Curl and OpenSSL) here:


(my real API key string was replaced with "MyApiKey" string in the config and debug output files.

I thought the API just needs the API key, the LOG file name and the metadata - that the "import ID" is somehow assigned automatically. Or am I missing something important?

regards

Jan 

PS: such tool would help me a lot
PS2: if we manage to make it work I will put the working version source code and binary to my GitHub: https://github.com/juhele/CzechRad/tree/main/SCRIPTS
Reply all
Reply to author
Forward
0 new messages