Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Upload to Webserver - How?

Pages: [1]
Author Topic: Upload to Webserver - How?
roachslayer
Member
Posts: 2
Post Upload to Webserver - How?
on: July 4, 2017 (GMT)

Very cool feature I see in the app, give it a URL to a server, and automatically save logs to the cloud. But… Where is the real documentation about this?

I found this uninspiring empty page:
https://torque-bhp.com/wiki/Uploading_OBD2_data

Then I found this slightly more interesting example:
https://github.com/econpy/torque

Still nothing about what data format. JSON? XML? Some custom hack? What Content-Type? What data is actually sent?

I’m not a PHP guy, so I’d do better just to have a simple description about this data that I can handle in C#.

Tonytoddler
Member
Posts: 1
Post Re: Upload to Webserver - How?
on: July 13, 2017 (GMT)

The data gets posted to your endpoint as a GET request. The url parameters hold the values of the PIDs selected to be posted.

Eg. GET /torque/torque.php?v=3&session=1499658078071&id=75d3b2a46f7bb28a58940a4296270a32&time=1499658087444&kff1005=78.52391974&kff1006=17.46141234&kff1001=28.856194 HTTP/1.0″

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.01 seconds.

  Follow me on twitter