mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 18:52:19 +00:00
CPURLConnectionAsyncTest manual test.
This commit is contained in:
1 parent
e8da7baee2
commit
13e1be1f74
10 files changed
+653
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
date_default_timezone_set('UTC');
|
||||
// current time
|
||||
$in = date("H:i:s:e", time());
|
||||
|
||||
$code = $_GET["status"];
|
||||
http_response_code($code);
|
||||
|
||||
$sleep = $_GET["sleep"];
|
||||
sleep($sleep);
|
||||
|
||||
$out = date("H:i:s:e", time());
|
||||
|
||||
echo json_encode(array($in,$out));
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user