tablestorage-0.1.0.1: Azure Table Storage REST API Wrapper

Safe HaskellSafe-Infered

Network.TableStorage.Auth

Description

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.

Synopsis

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.