I’m trying to send a small image and some sensor values from a remote raspberry pi using POST. I can send the sensor values just fine, and I can send the image no problem, but I can’t seem to get it to work when I try to do them both in one POST.
could you send us a link to the raspberry pi API documentation that you use? Please include also log messages that you see on the console when you execute your code.
It is difficult to spot the issue without more information.
I’m just running it on python3 and POSTing the data to https://ptsv2.com/. It posts the data or the file seperately just fine, but only the file when I post both of them. I have the same problem when I run the script from my desktop PC.
ha, no, the server is one of the “toilets” at a Post Test Server https://ptsv2.com/. You can see the dump at PTS - V2 . I don’t see an error message, but the server reports only a file is sent, nothing else.