I created a new private app, copied the example URL that got created,
and pasted it into the following C# code:
WebRequest request = WebRequest.Create("http://
7281...
myshopify.com/admin/orders.xml");
HttpWebResponse response =
(HttpWebResponse)request.GetResponse();
I get:
System.Net.WebException was unhandled
Message=The remote server returned an error: (401) Unauthorized.
I tried various combinations of request.UseDefaultCredentials,
request.PreAuthenticate, and request.AuthenticationLevel. I also
tried https instead of http.
Has anyone successfully called the API from a .NET desktop
application?
Thanks!