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.

2 Answers 2

curl -d"param1=value1&param2=value2" -X POST http://localhost/data</​​code>
about POST and SystemD
https://stackoverflow.com/questions/31454947/trigg...