Webhook GET request

I have configured the Contact Point in Grafana version 10 using a webhook with the following SMS API:
https://ht.deewan.sa:8443/Send.aspx?UserName=A******&Password=A*****&MessageType=text&Recipients=05*******&SenderName=AMLAK&MessageText=Test

I set the HTTP Method to POST, but when testing, I receive the following message: “Failed to send test alert: Webhook response status OK”.

However, the SMS API works fine when I test it using Postman, and I receive the message on my mobile.

Is there anything I am missing in the configuration?

To enable debug logging edit the configuration file grafana.ini:

[log]
# Either "console", "file", "syslog". Default is console and file
# Use space to separate multiple modes, e.g. "console file"
mode = console file

# Either "debug", "info", "warn", "error", "critical", default is "info"
level = debug

Then restart grafana for the setting to go into effect and check logs.

I checked the log, and it’s showing an authentication failure because I am using the HTTP method ‘POST’ in Grafana, but I need to use ‘GET’. The ‘GET’ option is not available in Grafana, but I am using ‘GET’ in Postman, which is why I am getting the response correctly in Postman.

Do you have any idea how to use or configure ‘GET’ in Grafana?

No, that’s not possible. GET requests have a low length limit usually, e. g. 8kB. Grafana can generate more than 8kB of data in the alert, so POST is used to avoid any GET limitations/issues.

Use your favourite language and create a server where you receive POST/PUT from Grafana and transform it to the required GET request.

yes, Thanks for the suggestion i used NodeJS program for covert from POST to GET from Grafana and its working successfully now.