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.
REST WCF を使用して、サーバーに画像ファイルをアップロードまたは投稿したいと考えています。このために、JSON を入力形式として使用しています。
しかし、Base64 の画像データ入力が原因で、デバッガーでこの post 呼び出しを確認しているときに、デバッガーが受け入れません。
この通話に対して 400-Bad Request 応答が返ってきました。
ありがとう。
イメージを JSON Web サービスに送信するには、それをバイト配列または Base 64 文字列表現に変換する必要があります。
お役に立てれば。