SoapUI: GET REST: Request Header Example for Azure File service REST API
Using SoapUI O S - 5.5.0
I have been trying to figure out how to work with the Azure REST API lately
and I am probably making this harder than it should be.
I am not making any progress with. ☹️
https://docs.microsoft.com/en-us/rest/api/storageservices/file-service-rest-api
I am looking for a working example/suggestions on how to setup a simple GET REST request for :
List Shares
https://docs.microsoft.com/en-us/rest/api/storageservices/list-shares
The Request Header for the required info is what I have not figured out how to set correctly.
If I can get this sorted out and get the GET request to work, I can proceed in my testing goal.
The following table describes required and optional request headers.
Authorization | Required. Specifies the authorization scheme, account name, and signature. For more information, see Authorize requests to Azure Storage. |
Date or x-ms-date | Required. Specifies the Coordinated Universal Time (UTC) for the request. For more information, see Authorize requests to Azure Storage. |
x-ms-version | Required for all authorized requests. Specifies the version of the operation to use for this request. For more information, see Versioning for the Azure Storage Services. |
For the Authorization part I am using a Shared Key (storage account key) since that
is supported for all the Storage Services which is my bigger goal in accessing for service testing
and verification.
I look forward for any help suggestions.
Thanks