I am trying to download a file from from Azure Artifact package using their Rest API.
wget --header="Authorization: Basic $PAT" "$URL" -O $filename
I am getting error message
ERROR:403 Server failed to authenticate the request. Make sure the value of authorization header is formed correctly including the signature.....
I can download the file Azure Artifact package using the Rest API in PowerShell.
The following is a sample to download a NuGet package with NuGet - Download Package. If you want to download other types, you can change the
apiUrlwith the one you need.