Now POSTs to the endpoint and stores in database