MicrosoftDocs / appcenter-docs

content repo for Visual Studio App Center on docs.microsoft.com
https://docs.microsoft.com/appcenter/
Creative Commons Attribution 4.0 International
122 stars 321 forks source link

Fix incorrect 'curl -d POST' calls #1438

Closed barney2k7 closed 8 months ago

barney2k7 commented 1 year ago

'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

prmerger-automator[bot] commented 1 year ago

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

barney2k7 commented 1 year ago

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