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.
ユーザー名とパスワードを入力して HTMLUnit webClient を使用してフォームを投稿していますが、ログインできませんでした。調査したところ、投稿要求で csrf が有効になっていることがわかったので、ネイティブ Web ブラウザーが必要です。HTMLUnitまたはJavaの他のツールを使用してcsrf対応Webサイトにログイン(フォームを投稿)する方法はありますか?それとも不可能ですか?
HtmlUnit はブラウザーとまったく同じように動作する必要があります。HtmlUnit と実際のブラウザーのより詳細な比較 (ヘッダー/応答) を提供できますか?