servicem8

HostGator won't connect via cURL to an Amazon API

心不动则不痛 提交于 2019-12-24 10:49:45
问题 The following code executes no problem on 2 other servers I have access to and use to run on Hostgator. Hostgator tech support refuse to help as they feel it's an issue with the code. I get no response from the API unless I change the HTTPS to HTTP in which case I get a 307 redirect message from cloudfront.net. Any ideas on what a solution might be? $data = array( "status" => "Quote", "job_address" => "1 Infinite Loop, Cupertino, California 95014, United States", "job_description" => "Client