I'm trying to create a queue on Azure using Service bus. Due to some restrictions I need to do it using RAW GET/PUT requests so I'm using Simple REST Client.
This is how I've created the signature mentioned in the Authorization field
above:
HmacSha256 encoded the character string "PUT\n\n\n\n\n\n\n\n\n\n\n\nx-ms-date:Mon, 28 Sep 2015 09:40:57 GMT\nx-ms-version:2015-02-21\n/mynamespace-ns/testqueue\nrestype:queue\ntimeout:30" with the SharedAccessKey copied from the Connection Information > Access Connection Information > Connection String on the namespace webpage. After that Base64Encode the resulted string.
The response I'm getting is (401) Malformed Token: Invalid authorization header: The request is missing WRAP authorization credentials. True, but I'm not getting the enough information to generate the raw POST request query to get the token.