1.How to send a post request from a batch file or console?
2.Can I send a post request directly from systemd? The task is to send requests on a timer every 5 seconds.As I understand it, you can configure the launch of a batch file through units.But maybe I don’t know, and you can make requests.
Thanks to everyone who will help.
curl -d"param1=value1¶m2=value2" -X POST http://localhost/data</code>