It worked :D!
The only downside is that I can only use these APIs through the Hotspot technique (the no security credentials needed), the other way is to do it with credentials through ssh connection, but this is less practical than the APIs.
Anyway, so I am making progress here, but what I need to do is to change the materials profile, I used the GET /materials API to get the materials my UM3 currently has, and saved it to a MaterialsFile.xml, and made a minor change, from 223 to 224 from all the temperatures available, just to check if it works:
And when I try to post materials, I use "materials" as the name of the file (I also tried only materials without the "") and I get the following:
"message": "profile not stored"
"result": false
And then I uploaded a signature_file from the Firmware downloads, and I get the following message:
"message": "expected bytes with no null"
I was wondering if the UM2 and the UM3 share the same source code (or atleast the messages errors) for these APIs, since the UM3 source code has not been released, and where are they located at? I wanted to see by myself the cause of these messages but I was unable to find the messages.