anchor.diff:  allowed_methods(?MODB,_) ->
       [?HTTP_GET].
   allowed_methods(?CARRIERS,_,_) ->
  -    [?HTTP_GET];
  +    [?HTTP_GET, ?HTTP_POST];
   allowed_methods(?MODB,_,?ATTACHMENT) ->
       [?HTTP_GET].
   
  
positive.code: 
  load_carrier_attachment(Context, DocId, AName) ->
      crossbar_doc:load_attachment(DocId, AName, [], cb_context:set_account_db(Context, <<"onbill">>)).
  
negative.code: -define(CARRIERS, <<"carriers">>).
  -define(MODB, <<"onbills_modb">>).
  -define(RESELLER_VARIABLES, <<"onbill_reseller_variables">>).
  -define(NOTIFICATION_MIME_TYPES, [{<<"text">>, <<"html">>}
                                 %   ,{<<"text">>, <<"plain">>}
                                   ]).
  
  -spec init() -> 'ok'.
  init() ->
      _ = crossbar_bindings:bind(<<"*.allowed_methods.onbills">>, ?MODULE, 'allowed_methods'),
      _ = crossbar_bindings:bind(<<"*.resource_exists.onbills">>, ?MODULE, 'resource_exists'),
      _ = crossbar_bindings:bind(<<"*.content_types_provided.onbills">>, ?MODULE, 'content_types_provided'),
      _ = crossbar_bindings:bind(<<"*.content_types_accepted.onbills">>, ?MODULE, 'content_types_accepted'),
      _ = crossbar_bindings:bind(<<"*.validate.onbills">>, ?MODULE, 'validate').
  
  -spec allowed_methods() -> http_methods().
  