'; } else { //echo 'Operation completed without any errors.'; } curl_close($ch); //send the response json echo($json); ?>