Did anyone manage to make freematics One+ send data to NodeJs server via HTTP POST

Discussion about software developed by Freematics, including Freematics Hub, Freematics Builder, Freematics Emulator GUI
mcfreematics
Posts: 4
Joined: Fri Feb 22, 2019 1:14 pm

Did anyone manage to make freematics One+ send data to NodeJs server via HTTP POST

Postby mcfreematics » Fri Feb 22, 2019 1:30 pm

Hi,

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 ?

Context/further details:
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.

ticcoid
Posts: 1
Joined: Sun Dec 01, 2019 12:23 am

Re: Did anyone manage to make freematics One+ send data to NodeJs server via HTTP POST

Postby ticcoid » Sun Dec 01, 2019 12:29 am

I would be interested as well. Couldn't get it working :(


Return to “Freematics Software”

Who is online

Users browsing this forum: No registered users and 2 guests