change response for POST to test endpoint correctly