Post gps to server if the location is valid or not null