The hosting provider I'm dealing with can send alerts in a format they call
"POST some JSON-encoded data to a URL"
Here is a code fragment that I'm using to interpret the alert.
class panic(webapp2.RequestHandler):
def get(self):
self.response.out.write("A")
def delete(self):
self.response.out.write("B")
def post(self):
self.response.out.write(self.request.body)
And this is the response
21T08%3A07%3A50%2B00%3A00%22%2C%22application_name%22%3A%22Application%20name%22%2C%22account_name%22%3A%22Account%20name%22%2C%22severity%22%3A%22critical%22%2C%22message%22%3A%22Apdex%20score%20fell%20below%20critical%20level%20of%200.90%22%2C%22short_description%22%3A%22%5Bapplication%20name%5D%20alert%20opened%22%2C%22long_description%22%3A%22Alert%20opened%20on%20%5Bapplication%20name%5D%3A%20Apdex%20score%20fell%20below%20critical%20level%20of%200.90%22%2C%22alert_url%22%3A%22https%3A%2F%2Frpm.newrelic.com%2Faccounts%2F%5Baccount_id%5D%2Fapplications%2F%5Bapplication_id%5D%2Fincidents%2F%5Bincident_id%5D%22%7D
How do I parse this to JSON?