I've been trying to get this to work for a few days in c#
The first step I took was to get an access token by going to the api access tab on the settings page, then click "Link to authorization code:"
When I click authorize it redirects me to
https://btcjam.com/?code=xxxxCode=xxx being the access token I assume?
The only thing is I'm not sure how to use this access token
I've looked here:
http://stackoverflow.com/questions/11068892/oauth-2-0-authorization-headerWhich suggests putting "Bearer = " + AccessToken in the header, like this:
var request = (HttpWebRequest)WebRequest.Create("https://btcjam.com/api/v1/api/v1/me");
request.Method = "GET";
request.Headers["Authorization"] = "Bearer= " + AccessToken;
var response = request.GetResponse();
var postreqreader = new StreamReader(response.GetResponseStream());
var json = postreqreader.ReadToEnd();
But all I get is still 500 errors.
I think I'm close to having it working but I need a nudge in the right direction. Anyone?