Https Requests - Multipart
Hi,
I've developed functionality to send a Mulitpart file via a Https Request; however, when streaming a blob/text to the HttpContent class only the first or last line gets appended to the content. For example, when establishing the connection with a username and password the request is successful; however, when the blob is a stream on of a Multipart file only the first or last line is appended to the HttpContent class
My VS code for the development looks like this:
Example of the stream to establish connection; Authorization - Credentials.txt
Example of the stream to send a multipart file; Multipart Blob.txt
This development was tested in Nav 2018 CU3/5 with the extensions provided from both of the builds, to be used later in D365BC.
Is this a bug, am I overlooking something or is it not possible with this version of AL/NAV?
Many Thanks, Pedro
This case can be closed. If you stream directly from the blob it works.