Added method to find out SAPI url