$cSession = curl_init();
curl_setopt($cSession,CURLOPT_URL,"http://hai:[email protected]@redmine.org/users/current.json");
curl_setopt($cSession,CURLOPT_RETURNTRANSFER,true);
$userDetail = curl_exec($cSession);
パスワードの後に続く文字をURLとみなします。ユーザー名またはパスワードを使用してredmine apiでログインする方法は、@文字である@
こんにちは@ fahad-sulaimanです。答えを見た?コードを試しましたか?お手伝いしましたか? :) – yivi
はい、それは助けました...ありがとうたくさん –