This is the command I want to run -
curl --request POST --data-binary @payload.txt --header "carriots.apiKey:XXXXXXXXXXXXXXXXXXXX" --verbose http://api.carriots.com/streams
This basically sends the data stream to the server.
I want to run this command every 5 seconds. How to achieve this?
linux curl libcurl
Archit arora
source share