これを試すこともできますが、リスニングURLにリクエストを処理するハンドラーがあることを確認してくださいWordPress(GETメソッドを使用)
function curlAdduser($strUrl)
{
    if( empty($strUrl) )
    {
        return 'Error: invalid Url given';
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $strUrl);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
    $return = curl_exec($ch);
    curl_close($ch);
    return $return;
}
外部サイトから関数を呼び出します:
curlAdduser("www.example.com/adduser?username=james&password=simpletext&email=myemail");
更新:POST方法を使用して
function curlAdduser($strUrl, $data) {
    $fields = '';
    foreach($data as $key => $value) { 
        $fields .= $key . '=' . $value . '&'; 
    }
    $fields = rtrim($fields, '&');
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $strUrl);  
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
    $return = curl_exec($ch);
    curl_close($ch);
    return $return;
}
で関数を呼び出しますdata
$data = array(
    "username" => "james",
    "password" => "simpletext",
    "email" => "myemail"
);
curlAdduser("www.example.com/adduser", $data);