42
There is currently no support for posting multipart/form-data content into http request in Al Language.
For now a solution is to call an Azure Function in which we make the post request with multipart/form data content. Making a POST request into Azure Function api that makes a POST request to the targeted api is redundant and it could be all done in AL with the MultiPartFormDataContent support.

Thanks to think about it, it will be very (very) helpful!
Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team

Comments

J

Please just add it support for MultipartFormDataContent() into AL, it would really be helpful when creating export jobs which results in like CSV file and need to add som extra formFields and just POST it to customers services.

Category: Development