Home » Php » web services – Error handling for PHP SoapClient when API server is down

web services – Error handling for PHP SoapClient when API server is down

Posted by: admin February 23, 2020 Leave a comment

Questions:

I’m using an API for sending SMS in my PHP web aplication. I am using the PHP SoapCLient to send requests to the API, but how do I handle the case that the API server is down?

How to&Answers: