Data to server through http

I am trying to send data to a cloud storage, I get the data, but formatted weirdly,
so for example I configured a data collector, with default value (JSON format etc…), I added data basic,
I expected to receive :
{
“time”:1710424313,
“local_time”:“2024-03-14 14:51:53”,
“fw”:“RUT9_R_00.07.06.6”,
“name”:“ott2”,
“id”:“4”
}
instead I received:
{ ‘{“time”:1710424313,“local_time”:“2024-03-1414:51:53”,“fw”:“RUT9_R_00.07.06.6”,“name”:“ott2”,“id”:“4”}’ : [‘’]}

instead of getting just the object, it is setting the object as a key, and the value would be [‘’]

I added header Content-Type :application/json and it was somehow solved

Hello,

I believe that adding a header resolved the problem, right? If that was indeed the solution, don’t hesitate to ask for further assistance or support if needed.

Best Regards,

1 Like

This topic was automatically closed 40 hours after the last reply. New replies are no longer allowed.