2013-08-05, 03:56:15
FYI this is what a normal curl query looks like.
PHP Code:
get_api_details: core
get_api_details: http://get-simple.info/api/start/v3.php?v=3.2.3b1
API timeout: 500
cache check for http://get-simple.info/api/start/v3.php?v=3.2.3b1 495f6fab503f2007953b7c7c2f34771f.txt
API via curl
curl version:
Array
(
[version_number] => 462595
[age] => 2
[features] => 541
[ssl_version_number] => 0
[version] => 7.15.3
[host] => i686-pc-linux-gnu
[ssl_version] => OpenSSL/0.9.8b
[libz_version] => 1.2.3
[protocols] => Array
(
[0] => tftp
[1] => ftp
[2] => telnet
[3] => dict
[4] => ldap
[5] => http
[6] => file
[7] => https
[8] => ftps
)
)
Curl info:
Array
(
[url] => http://get-simple.info/api/start/v3.php?v=3.2.3b1
[content_type] => text/html; charset=UTF-8
[http_code] => 200
[header_size] => 279
[request_size] => 80
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 2.532524
[namelookup_time] => 0.004075
[connect_time] => 0.016782
[pretransfer_time] => 0.016822
[size_upload] => 0
[size_download] => 104
[speed_download] => 41
[speed_upload] => 0
[download_content_length] => 0
[upload_content_length] => 0
[starttransfer_time] => 2.532475
[redirect_time] => 0
[request_header] => GET /api/start/v3.php?v=3.2.3b1 HTTP/1.1
Host: get-simple.info
Accept: */*
)
Curl Verbose:
Curl Data:
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 04 Aug 2013 17:55:18 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: max-age=7200
Expires: Sun, 04 Aug 2013 19:55:16 GMT
X-Powered-By: PleskLin
Vary: Accept-Encoding
{"status":"2","latest":"3.2.1","your_version":"3.2.3b1","message":"You are living on the bleeding edge"}
API JSON:
stdClass Object
(
[status] => 2
[latest] => 3.2.1
[your_version] => 3.2.3b1
[message] => You are living on the bleeding edge
)