Overview: I am new to Assembla and I am having some trouble with authentication in C#.
I am trying to externally create tickets in assembla (Tickets POST), but I am having a hard time grabbing the access token. I think I need to use Web services or 3-step authentication flow, but is there any other way to get the token without any user input? I am trying to automate the ticket-creating process.
It is not much, but here is what I currently have (it returns all the tickets on that page):
var myRequest = (HttpWebRequest)WebRequest.Create("https://api.assembla.com/spaces/spaceName/tickets/");
myRequest.Method = "GET";
myRequest.Headers.Add("X-Api-Key", myKey);
myRequest.Headers.Add("X-Api-Secret", mySecret);