Al: HttpContent.ReadAs should also accept OutStream

Created on 31 May 2017  路  1Comment  路  Source: microsoft/AL

I would expect to HttpContent.ReadAs be able to store its content into an OutStream. That would make it possible to store the content directly into a BLOB field. Now we have to create an OutStream and call COPYSTREAM to get it into a BLOB.

http-client platform-api suggestion

Most helpful comment

We will look into this suggestion. It leads to a broader discussion about having simply a Stream type to handle both in and out directions.

>All comments

We will look into this suggestion. It leads to a broader discussion about having simply a Stream type to handle both in and out directions.

Was this page helpful?
0 / 5 - 0 ratings