anchor.diff:  content_types_accepted(ReqData, Context) ->
   	case wrq:method(ReqData) of
   		'POST' ->
  -			{[{"application/json",
  -					add_subscriber}], ReqData, Context};
  +			{[{"application/json", add_subscriber}], ReqData, Context};
   		'GET' ->
   			{[], ReqData, Context};
   		'HEAD' ->
  
positive.code: 		{subscriber :: string(),
  		current_password :: string(),
  		new_password :: string(),
  		attributes :: radius_attributes:attributes()}).
  
  %%----------------------------------------------------------------------
  %%  webmachine callbacks
  
negative.code: 	{true | halt(), ReqData :: rd(), Context :: state()}.
  %% @doc POST processing function.
  add_subscriber(ReqData, #state{subscriber = Subscriber,
  		current_password = Password, attributes = ArrayAttributes,
  		balance = Balance} = Context) ->
  	try
  	case catch ocs:add_subscriber(Subscriber, Password,
  			ArrayAttributes, Balance) of
  		ok ->
  			{true, ReqData, Context};
  		{error, Reason} ->
  