Click here to Skip to main content
15,914,444 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: CommitStrip OTD Pin
Shameel20-Feb-15 2:41
professionalShameel20-Feb-15 2:41 
GeneralXKCD What-If OTW Pin
OriginalGriff19-Feb-15 20:25
mveOriginalGriff19-Feb-15 20:25 
GeneralRe: XKCD What-If OTW Pin
Nagy Vilmos19-Feb-15 21:43
professionalNagy Vilmos19-Feb-15 21:43 
GeneralRe: XKCD What-If OTW Pin
DJ van Wyk20-Feb-15 0:58
professionalDJ van Wyk20-Feb-15 0:58 
GeneralA bit damp Pin
_Maxxx_19-Feb-15 19:02
professional_Maxxx_19-Feb-15 19:02 
GeneralRe: A bit damp Pin
Garth J Lancaster19-Feb-15 20:12
professionalGarth J Lancaster19-Feb-15 20:12 
GeneralRe: A bit damp Pin
Mark_Wallace19-Feb-15 21:15
Mark_Wallace19-Feb-15 21:15 
GeneralThree hours later... Pin
Marc Clifton19-Feb-15 13:51
mvaMarc Clifton19-Feb-15 13:51 
I figure out that to get the content from https://api.github.com/events programmatically (it works from the browser), I have specify something, anything for the UserAgent:

HttpWebRequest request = WebRequest.Create("https://api.github.com/events") as HttpWebRequest;
request.Method = "GET";
request.UserAgent = "Hello There";


Sigh. That was 3 hours spent on what I thought should be ridiculously simple and was hoping to spend on productively writing code to process and display the digest of events.

I'd still be at it, if not for this obscure[^] post by Buddha (at the bottom.)

Marc

GeneralRe: Three hours later... Pin
manchanx19-Feb-15 14:10
professionalmanchanx19-Feb-15 14:10 
GeneralRe: Three hours later... Pin
Marc Clifton19-Feb-15 14:13
mvaMarc Clifton19-Feb-15 14:13 
GeneralRe: Three hours later... Pin
newton.saber19-Feb-15 15:40
newton.saber19-Feb-15 15:40 
GeneralRe: Three hours later... Pin
Agent__00719-Feb-15 16:40
professionalAgent__00719-Feb-15 16:40 
GeneralRe: Three hours later... Pin
Marc Clifton20-Feb-15 1:40
mvaMarc Clifton20-Feb-15 1:40 
GeneralCreation Pin
TheGreatAndPowerfulOz19-Feb-15 12:13
TheGreatAndPowerfulOz19-Feb-15 12:13 
GeneralRe: Creation Pin
Richard Andrew x6419-Feb-15 12:35
professionalRichard Andrew x6419-Feb-15 12:35 
GeneralRe: Creation Pin
TheGreatAndPowerfulOz19-Feb-15 12:46
TheGreatAndPowerfulOz19-Feb-15 12:46 
Generallink clarification Pin
manchanx19-Feb-15 13:09
professionalmanchanx19-Feb-15 13:09 
GeneralRe: link clarification Pin
TheGreatAndPowerfulOz19-Feb-15 13:49
TheGreatAndPowerfulOz19-Feb-15 13:49 
GeneralMicrosoft licensing Pin
charlieg19-Feb-15 11:08
charlieg19-Feb-15 11:08 
GeneralRe: Microsoft licensing Pin
Dan Neely19-Feb-15 11:23
Dan Neely19-Feb-15 11:23 
GeneralRe: Microsoft licensing Pin
Mario Vernari19-Feb-15 20:49
Mario Vernari19-Feb-15 20:49 
GeneralRe: Microsoft licensing Pin
tgrt19-Feb-15 14:10
tgrt19-Feb-15 14:10 
GeneralRe: Microsoft licensing Pin
charlieg19-Feb-15 15:54
charlieg19-Feb-15 15:54 
GeneralRe: Microsoft licensing Pin
Indivara19-Feb-15 16:31
professionalIndivara19-Feb-15 16:31 
GeneralRe: Microsoft licensing Pin
tgrt19-Feb-15 17:23
tgrt19-Feb-15 17:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.