
Untitled
By: a guest on
Aug 8th, 2012 | syntax:
None | size: 0.81 KB | hits: 4 | expires: Never
#> curl -X PUT http://localhost:8098/riak/test/asdf -H "content-type: application/json" -d "{\"foo\":\"bar\"}"
<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>{error,{error,badarg,
[{erlang,iolist_to_binary,[{error,missing_field,<<"foo">>}]},
{wrq,append_to_response_body,2},
{riak_kv_wm_raw,accept_doc_body,2},
{webmachine_resource,resource_call,3},
{webmachine_resource,do,3},
{webmachine_decision_core,resource_call,1},
{webmachine_decision_core,accept_helper,0},
{webmachine_decision_core,decision,1}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html>