Alerting via Webhook, post json data is not being passed

I am trying to get Alerting to work via Webhook (post), but I’m having an issue reading the json data. My JSP url gets invoked by Grafana (4.5.2) via alerting feature however I’m not able to read any json data, it’s almost as if no json data is being passed to my url via webhook.

I have the alerting feature via Email working perfectly with all the info, however via the webhook, my url gets invoked but no json data is being passed. How can I debug this.

In the Grafana log, I can confirm the webhook gets called.
t=2018-01-31T15:07:35-0500 lvl=info msg=“New state change” logger=alerting.resultHandler alertId=4 newState=alerting prev state=ok
t=2018-01-31T15:07:35-0500 lvl=info msg=“Sending notifications for” logger=alerting.notifier ruleId=4 sent count=1
t=2018-01-31T15:07:35-0500 lvl=info msg=Rendering logger=png-renderer path="dashboard-solo/db/test-tma-alert?&panelId=1"
t=2018-01-31T15:07:35-0500 lvl=info msg=uploaded logger=alerting.notifier url=
t=2018-01-31T15:07:35-0500 lvl=info msg=“Sending notification” logger=alerting.notifier type=webhook id=2 isDefault=true
t=2018-01-31T15:07:35-0500 lvl=info msg=“Sending webhook” logger=alerting.notifier.webhook

Never mind, I have resolved this.

Normaly you can GET and POST parameters in a servlet the same way:

But only if the POST data is encoded as key-value pairs of content type: “application/x-www-form-urlencoded” like when you use a standard HTML form.

Have you configured content type in grafana?