#NEWLINE# @ utils . when ( index , method = 'POST' ) #NEWLINE# def post( self , * args , **kwargs ) : #NEWLINE# #INDENT# resources = request . context [ 'resources' ] #NEWLINE# pecan . response . status = 201 #NEWLINE# return self . create ( resources )