the counterparty uses the nginx ubuntu server
I use curl to communicate with him
I would like to say how to make a php interview
after entering this interview, I can find out the current server status of the counterparty
but how can I write this code if the counterparty gives me a reply of 502 or other errors
?
call his primary domain name with curl?
or is there any other way?