curl-to-csharp icon indicating copy to clipboard operation
curl-to-csharp copied to clipboard

Parameter "--location" is not supported

Open shaofing opened this issue 2 years ago • 5 comments

I use postman to generate curl command, which contains "--location" QQ截图20220406154919

curl --location --request POST 'http://localhost:5001/api/SCMBaseService/GetUdfButtons' \ --header 'Content-Type: application/json' \ --data-raw '{ "v": { "SysId": "OMS", "ModelName": "Purchase" }, "lg": "zh_cn", "tk": "09ff6d32-bfa0-45dd-ae75-51d136f48c04" }'

shaofing avatar Apr 06 '22 07:04 shaofing

Please update nuget

shaofing avatar Apr 06 '22 07:04 shaofing

Hi @shaofing

Thank you for the opening issue. Yes, the --location parameter is not supported yet.

Please update nuget

Which nuget?

olsh avatar Apr 06 '22 08:04 olsh

think you...... 1,Will the support of --location be added 2, https://www.nuget.org/packages/CurlParser

shaofing avatar Apr 06 '22 08:04 shaofing

1,Will the support of --location be added

If I have spare time for this. But PR is welcome.

2, https://www.nuget.org/packages/CurlParser

This repository doesn't provide any NuGet packages yet, so this is a "non-official" package.

olsh avatar Apr 06 '22 08:04 olsh

I'll try it . think you.

shaofing avatar Apr 06 '22 08:04 shaofing