Invoke-restmethod or invoke-webrequest to write multiple points from a text file to influxdb

Is it possible to to write multiple points to influx from a file which has data in format [ measurement-name,tag-name=tag-value value-name=value ] using Invoke-RestMethod or Invoke-WebRequest at one go?

as in curl we use
[ curl -i -XPOST ‘http://localhost:8086/write?db=mydb’ --data-binary @cpu_data.txt ]