Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagec#
linenumberstrue
var uri = new Uri(url);		// decode url
if (uri.Query != null && uri.Query.Length > 0)
{
	url = string.Concat(uri.GetLeftPart(UriPartial.Path), HttpUtility.UrlDecode(uri.Query));
}

var messageRepresentation = string.Join("\n",
   	method.ToLower(),
   	"",
   	accept.ToLower(),
   	url.ToLower(),
   	timestamp,
 	publicKey.ToLower()
); 

It looks like:

get
application/json http://localhost:1260/odata/v1/orders?$top=10&$filter=createdonutc gt 2013-02-20T00:00:00Z 2013-11-11T10:15:54.1731069Z 0c6b33651708eb09c8a8d6036b79d739

...