1
votes

How can I convert the following into a vanilla http.request with text/plain

curl -v --request POST http://my-site.com/v1/metrics --header 'Content-Type: text/plain' --data 'test{method="POST", code="200"} 100 1434234045041'
Did you make an attempt? - epascarello