Add support for multi-line strings
Closed this issue · 2 comments
ThePoShWolf commented
Often times curl commands are multiple lines separated by \
, ConvertTo-IRM should support that.
ThePoShWolf commented
Here's an example from #1 :
$CurlCommand = @"
curl -X GET \
https://PlopServer/identity/api/tenants/Woopa/subtenants \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {{token}}'
"@
ConvertTo-IRM -CurlString $CurlCommand
This returns the \
in the output, which also ends up being multiple lines. It should only output a single line.
ThePoShWolf commented
This was added with #23