Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はphpスクリプトでそれを知っています:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
リダイレクトに従います。コマンドラインcURLでリダイレクトに従う方法はありますか?
ロケーション ヘッダー フラグを使用します。
curl -L <URL>