Completed share front end, sends JSON data to backend