Uploading XL Deploy DAR package via TypeScript

Another day, another language, another challenge In past I already wrote about multipart/form-data requests that are used to upload files. It was about PowerShell and leveraging .Net libraries to achieve this task. Now it is the turn of TypeScript. I had a need to implement the file upload to XL Deploy which requires multipart/form-data standard […]

Uploading XL Deploy DAR package via PowerShell

Introduction Recently at my customer’s site, I started using XebiaLabs product called XL Deploy. It is a software solution that helps automating the deployment process. Many operations are exposed via a REST API. Uploading of packages is one of them and is done following the Multipart/form-data standard. In case you need to do so, via […]

PowerShell tips and tricks – Multipart/form-data requests

Introduction If you ever came across a need to invoke a request that needs to oblige to Multipart/form-data standard in PowerShell, you probably got to know quite quickly that none of commonly used cmdlets do support it. Both, Invoke-WebRequest and Invoke-RestMethod are unaware on how to format the request body in order to comply to […]