Safe Haskell | Safe-Infered |
---|
This module provides functions to create authenticated requests to the Table Storage REST API.
Functions are provided to create Shared Key authorization tokens, and to add the required headers for the various requests.
- authenticatedRequest :: Account -> RequestMethod -> [Header] -> String -> String -> String -> IO (Either String Response_String)
Documentation
authenticatedRequest :: Account -> RequestMethod -> [Header] -> String -> String -> String -> IO (Either String Response_String)Source
Creates and executes an authenticated request including the Authorization header.
The function takes the account information, request method, additional headers, resource, canonicalized resource and request body as parameters, and returns an error message or the response object.