title: Influxdb Write with REST API and Json data
body: <p>Influx, how do I upload a JSON with Rest Api?</p>
  
  <p>When i read data from Influx using say Rest+query, it comes in JSON format. Now to upload they are saying json is deprecated and we have to do it in binary format, really?</p>
  
  <p>Read using this gives me data in JSON format
  curl -G '<a href="http://localhost:8086/query" rel="nofollow">http://localhost:8086/query</a>' --data-urlencode “db=my_db" --data-urlencode "q=select * from \”server1.rte.set\" limit 1">test.txt</p>
  
  <p>Write has to be this binary format
  curl -i -XPOST '<a href="http://localhost:8086/write?db=my_db" rel="nofollow">http://localhost:8086/write?db=my_db</a>' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'</p>
  
  <p>Why would anybody do this? Keep both json or keep both binary.</p>