logging api post request body (#4404)

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
This commit is contained in:
Azure SDK Bot 2023-03-02 14:21:41 -08:00 committed by GitHub
parent c8b028dce0
commit ecb5f3db1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,9 @@ function CreateReleases($pkgList, $releaseApiUrl, $releaseSha) {
body = $releaseNotes
}
Write-Host "Post Request Body:"
Write-Host $body
$headers = @{
"Content-Type" = "application/json"
"Authorization" = "token $($env:GH_TOKEN)"