問題タブ [httpentity]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
81 参照

java - 基本認証を実行するだけでなく、HTTP Post リクエストの本文としてキー値を送信し、データを取得する必要があります

URL の基本認証

本文のキー値コンテンツ x-www-form-urlencoded

基本的な認証を実行し、本文に www-form-urlencoded データを渡す必要があります。上記のデータをURLに渡した後に取得された応答データを取得するために、httpを使用してJavaでコーディングするにはどうすればよいですか。