I am trying to upload a file to Azure via API. I generate a writable url and then send a PUT request with the file attached, however it keeps failing. I use an API client on my local mac. I generate an url like this:
https://baseurl.blob.core.windows.net/test/testfile1.csv?sv=2014-02-14&sr=b&sig=coW+B3AU/9A30ssj14k+tdClLmW3Ix81EzCQM6IkPzc=&st=2021-07-06T00:33:39Z&se=2021-07-06T02:38:39Z&sp=rw\
I attach a csv file from my local machine to the request and when I run it I keep getting the following error:
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Any idea how I can get this to work?