Sending the location to server via post