HTTP POST Blackbox

Can anyone provide a more advanced example of using body in an POST Request

http:
  valid_http_versions: ["HTTP/1.1", "HTTP/2.0"]
  valid_status_codes: []
  method: POST
  headers:
    content-type: application/json
  body: '{ }'

something that involves passing headers and data ?

Welcome @strange to the Grafana forum.

Are you trying to monitor the health of a machine using HTTP synthetic checks? If you want to use a POST request, perhaps a k6 scripted check would work? This video may help.

2 Likes