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 Freematics software, including Freematics Emulator GUI software, Freematics Arduino Builder etc.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests