appcenter-docs icon indicating copy to clipboard operation
appcenter-docs copied to clipboard

Fix incorrect 'curl -d POST' calls

Open barney2k7 opened this issue 2 years ago • 2 comments

'curl -d POST' actually posts to the url with a four byte request body 'POST', while those urls should actually be posted to without a request body. 'curl -X POST' does this. Also adding '-H "Content-Length: 0" as required by the server

barney2k7 avatar Jun 15 '23 11:06 barney2k7

@barney2k7 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

prmerger-automator[bot] avatar Jun 15 '23 11:06 prmerger-automator[bot]

The same issue also exists in the linked script, see the corresponding PR microsoft/appcenter-Xamarin.UITest-Demo#61

barney2k7 avatar Jun 15 '23 11:06 barney2k7