While trying to connect Azure Storage Service using the REST API in Java it is possible you may get the following error:
“Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.”
Even when you have correct code, you might wonder around what is needed to get the “correct Authorization header” to work with the request.
To solve this problem you can use JAzure, which is a Java library for Azure that uses the Restlet API. The latest Restlet API has a plugin to add the Azure Authorization header to the request. Once you use RESTlet API you will be able to successfully connect Azure Storage Service using a few of the Azure REST APIs.