balena-labs-projects / connector

Auto-configured data connector block based on Telegraf
15 stars 8 forks source link

added Content-Type header to http json output #42

Closed mcraa closed 2 years ago

mcraa commented 2 years ago

Fixed HTTP Output according to telegraf docs (line 57 to 60)

Tested with express, without this update the request.body is always {} with this the body contains the expected content.

Change-type: patch Signed-off-by: Peter Makra peter@balena.io

ghost commented 2 years ago

Your landr site preview has been successfully deployed to https://landr-balenablocks-repo-connector-preview-42.netlify.app

Deployed with Landr 6.35.1

phil-d-wilson commented 2 years ago

@mcraa versiobot is complaining about the commit message. My guess is you forgot it the first time.