CURLの例え

このコミットが含まれているのは:
守矢諏訪子 2022-03-30 19:35:31 +09:00
コミット b63a1ed37b
2個のファイルの変更14行の追加0行の削除

11
src/curl/index.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
define('API_URI', 'https://social.076.ne.jp');
$title = 'CURL';
$siteurl .= '/curl';
$childview = '../ui/curl/index.php';
// テストするには、config.phpでの「API_AUTH」値を「https://social.076.ne.jp」、又は違うPleromaインスタンスのホスト名に設定して下さい。
// To test, please set "API_AUTH" in config.php to "https://social.076.ne.jp", or a different Pleroma instance host name.
$result = lolicurl('/api/pleroma/frontend_configurations');
?>

3
ui/curl/index.php ノーマルファイル
ファイルの表示

@ -0,0 +1,3 @@
<?php
dd($result);
?>