API handles POST request for adding a 'statement'