Validation of input parameters + http error messages

longitude is from -180  to 180 !