Did anyone manage to make freematics One+ send data to NodeJs server using PROTOCOL_HTTP_POST ?
Do you know where to set the content-type ? Do we need to define a global variable in the config.h
#define HTTPFILETYPE_JSON "application/json"
is the "application/json" the right type ? or is it "text/plain" or something else ?
sending data (GPS/OBD) to hub.freematics.com works fine thru PROTOCOL_UDP.
Now I need to send the same data to a NodeJs backend via HTTP post.
Any help/hint is much appreciated.
Discussion about software developed by Freematics, including Freematics Hub, Freematics Builder, Freematics Emulator GUI
2 posts • Page 1 of 1
I would be interested as well. Couldn't get it working
Who is online
Users browsing this forum: No registered users and 1 guest