seems the docs with auth creds is invalid... or im still broken...


curl -XPOST http://localhost:8080/riak-cs/user \
  -H 'Content-Type: application/json' \
  -d '{"email":"ad...@admin.com", "name":"admin"}'


returns

curl -H 'Content-Type: application/json' -X POST
http://localhost:8080/riak-cs/user --data '{"email":"ad...@admin.com",
"name":"admin"}'

<html><head><title>500 Internal Server
Error</title></head><body><h1>Internal Server Error</h1>The server
encountered an error while processing this
request</body></html>root@vmbsd:/usr/local/etc/riak-cs
#

and the log shows
2015-09-15 14:20:33.678 [error] <0.9846.4> Webmachine error at path
"/riak-cs/user" :
{error,{error,{badmatch,{error,malformed_xml}},[{riak_cs_s3_response,xml_error_code,1,[{file,"src/riak_cs_s3_response.erl"},{line,335}]},{riak_cs_s3_r
esponse,error_response,1,[{file,"src/riak_cs_s3_response.erl"},{line,249}]},{riak_cs_wm_user,accept_json,2,[{file,"src/riak_cs_wm_user.erl"},{line,119}]},{webmachine_resource,resource_call,3,[{file,"src/webmachine_resource.erl"},{line,1
86}]},{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,142}]},{webmachine_decision_core,resource_call,...},...]}}
in riak_cs_s3_response:xml_error_code/1 line 335
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to