New question #241912 on Graphite: https://answers.launchpad.net/graphite/+question/241912
I'm trying to post events to Graphite using curl but I get the following error message. I'd appreciate some help. curl -X POST http://localhost/events/ -d '{"what": "Event through curl", "tags": "curl"}' <body style="background-color: #666666; color: black;"> <center> <h2 style='font-family: "Arial"'> <p>Graphite encountered an unexpected error while handling your request.</p> <p>Please contact your site administrator if the problem persists.</p> </h2> <br/> <div style="width: 50%; text-align: center; font-family: monospace; background-color: black; font-weight: bold; color: #ff4422;"> </div> <div style="width: 70%; text-align: left; background-color: black; color: #44ff22; border: thin solid gray;"> <pre> Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 114, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/graphite/webapp/graphite/events/views.py", line 32, in view_events return post_event(request) File "/opt/graphite/webapp/graphite/events/views.py", line 44, in post_event event = json.loads(request.raw_post_data) AttributeError: 'WSGIRequest' object has no attribute 'raw_post_data' </pre> </div> </center> Thanks! -- You received this question notification because you are a member of graphite-dev, which is an answer contact for Graphite. _______________________________________________ Mailing list: https://launchpad.net/~graphite-dev Post to : graphite-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~graphite-dev More help : https://help.launchpad.net/ListHelp