# README
Akamai Client
A golang package which helps facilitate making HTTP requests to Akamai OPEN APIs
# Functions
BodyJSON unmarshals the Response.Body into a given data structure.
Do performs a given HTTP Request, signed with the Akamai OPEN Edgegrid Authorization header.
IsClientError determines if a response was a client error (4XX status).
IsError determines if the response was a client or server error (4XX or 5XX status).
IsInformational determines if a response was informational (1XX status).
IsRedirection determines if a response was a redirect (3XX status).
IsServerError determines if a response was a server error (5XX status).
IsSuccess determines if a response was successful (2XX status).
NewAPIError creates a new API error based on a Response, or http.Response-like.
NewAPIErrorFromBody creates a new API error, allowing you to pass in a body
This function is intended to be used after the body has already been read for other purposes.
NewJSONRequest creates an HTTP request that can be sent to the Akamai APIs with a JSON body The JSON body is encoded and the Content-Type/Accept headers are set automatically.
NewMultiPartFormDataRequest creates an HTTP request that uploads a file to the Akamai API.
NewRequest creates an HTTP request that can be sent to Akamai APIs.
# Structs
APIError exposes an Akamai OPEN Edgegrid Error.
No description provided by the author
Resource is the "base" type for all API resources.
# Type aliases
JSONBody is a generic struct for temporary JSON unmarshalling.