Announcement

Collapse
No announcement yet.

HTTP Post with binary data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HTTP Post with binary data

    Hi All,

    I am getting my nerd on a bit with a time series database (InfluxDB) and the graphing component (Grafana). I have it graphing network stats using CollectD and also Telegraf which is working well.

    I would like to expand it to start to graph some of the HA stuff but have not really done any HTTP post stuff in homeseer, or at least for a very long time.

    Would someone be able to show me how to do a http post where the data is in binary.

    I have a CURL example;

    -'http://10.0.0.2:8086/write?db=network' --data-binary "speedtest ping=$ping,download=$download,upload=$upload"

    But i am not sure how to translate this across to a HTTP post equilivant.

    Many Thanks!
    HS3 PRO, Win10, WeatherXML, HSTouch, Pushover, UltraGCIR, Heaps of Jon00 Plugins, Just sold and about to move so very slim system.

    Facebook | Twitter | Flickr | Google+ | Website | YouTube
Working...
X