7 "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/a1"
10 func SendNotification(notificationDestination string, body string) error {
11 a1.Logger.Debug("In SendNotification")
12 client := &http.Client{}
13 req, err := http.NewRequest("POST", notificationDestination, bytes.NewBuffer([]byte(body)))
17 req.Header.Set("User-Agent", "a1mediator")
18 res, err := client.Do(req)
20 a1.Logger.Debug("Error sending POST message to %v+", notificationDestination)
23 a1.Logger.Debug("Notification response %s received from far-end", res.Status)