april fops
This commit is contained in:
parent
6690d4e97e
commit
e8ad39203f
6 changed files with 32 additions and 13 deletions
|
@ -18,7 +18,8 @@ public function __construct() {}
|
|||
|
||||
public function getWah(): string {
|
||||
try {
|
||||
$response = Http::get('https://api.tinyfox.dev/img.json?animal=wah');
|
||||
// $response = Http::get('https://api.tinyfox.dev/img.json?animal=wah');
|
||||
$response = Http::get('https://api.tinyfox.dev/img.json?animal=fox');
|
||||
$data = $response->json();
|
||||
if ($data == null) return "";
|
||||
return "https://api.tinyfox.dev" . $data["loc"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue