問題タブ [azure-rest-api]

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 投票する
1 に答える
690 参照

azure - x-ms-blob-type が見つからないため、ADLS Gen2 でパスを作成できませんか?

Azure Data Lake Storage Gen2 を使用して Azure Storage アカウントを作成しました。REST APIを使用してファイルをアップロードしたいと考えています。Shared Keysで認証を使用すると問題なく動作しますが、アカウント SASを使用すると問題が発生します。

パスの作成には、Path - Create操作を使用します。

リクエストは400 An HTTP header that's mandatory for this request is not specified.、次のエラー メッセージとともに返されます。

Blob storage に BLOB を作成するには、欠落しているヘッダーが必要であることが判明しました。ADLS Gen2 は両方の API をサポートし、どちらも同様の操作を提供するため、要求を間違ったものに委任します。

ADLS Gen2 API で SAS を使用して PUT 操作を使用してパスを作成する方法はありますか?