2

How do I make a post request using the curl plugin? I see no option where I can specify the post data, or the type of request.

Is it even possible with the plugin, or is there an alternative plugin I can use?

1 Answers1

1

While libcurl certainly supports the POST method (example), it appears that the specific functionality isn't exposed in the current version of the collectd plugin.

Your best shot is probably going to be to setup a server/service/page that can "proxy" the POST request for you through a GET request, and return the results.

Goyuix
  • 3,214
  • 5
  • 29
  • 37