Endpoint to store data.