Php Api Call Using Curl In Javascript How To Make The Page