oyvindkinsey/easyXDM — pull request #244 by rickschott (2013-12-12 14:24:57+00:00)
Title: Only url encode when using form-urlencoded content type

When using ASP.NET WebAPI with "Content-Type": "application/json", the
form-urlencoding invalidates the JSON.

//Example
rpc.request({
url: HLeasyXDM.WebAPIFullUrl + uri,
method: reqType,
data: JSON.stringify(data),
headers: {
"blaKey": blaKey,
"blaToken": blaToken,
"Accept": "application/json",
"Content-Type": "application/json"
}
};