-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Httpjson input: Allow specifying POST JSON body #768
Comments
sure, could you separate this into two separate issues though? |
Done! |
How can input body for http request. I had input body from readme example, but return error. |
@guige We try to reserve GitHub Issues for actionable bug reports or feature requests. Please ask general questions at the InfluxData Community site. |
@danielnelson I resove it use httpjson, because i use httprespose.😭 |
This feature would be very useful. I've currently worked around it by calling curl from the exec plugin, but as I'm running Telegraf in the alpine based docker image - it doesn't include curl so I need to install it using apk whenever it's updated. |
It would be convenient to be able to specify JSON body for POST requests. I guess just providing JSON as a string works, but if it is to be separated by keys, non-string values should be supported (unlike with the GET parameters).
The text was updated successfully, but these errors were encountered: