Trying to set a POST in heartbeat

hey guys,

i'm trying to set a POST monitor in heartbeat but i'm failing, maybe i'm missing something really obvious....

Here my .yml so, maybe one of you could help me to set it up?

heartbeat.monitors:
- type: http

  # List or urls to query
  urls: "http://server_name:4151/pub?topic=Catalog.v2.CMDS.ProcessStandardConfigs.User"
 
  check.request.method: POST 
  check.request.headers:  
  body: "{"CustomerSet": "rc1403234"}" 
    
# Configure task schedule
  schedule: '@every 30s'

  # Total test connection and data exchange timeout
  timeout: 60s

thanks!

At first glance this looks correct. How are you ascertaining that the method sent is not, in fact, a POST request?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.