The monasca_events_api.app.common.helpers Module

monasca_events_api.app.common.helpers.read_json_msg_body(req)[source]

Read the json_msg from the http request body and return as JSON.

Parameters

req – HTTP request object.

Returns

Returns the metrics as a JSON object.

Raises

falcon.HTTPBadRequest