I have been trying to GET and POST alerts through CURL command. I set the rules initially through the localhost web UI. Following that I was able to get the rules as a JSON file on to my machine using the
curl -X GET <url>. But when I try to post, I am not able to do so. How are we supposed to update the JSON and post or maybe POST everytime when we start grafana?
I am new to grafana. Your help is much appreciated here!