Re: [Beaker-devel] Receiving HTML rather than JSON despite Accept header

2015-02-18 Thread Nick Coghlan
> From: "Dan Callaghan" > To: "beaker-devel" > Sent: Thursday, 19 February, 2015 2:47:55 PM > Subject: Re: [Beaker-devel] Receiving HTML rather than JSON despite Accept > header > > Excerpts from Nick Coghlan's message of 2015-02-19 14:26 +10

Re: [Beaker-devel] Receiving HTML rather than JSON despite Accept header

2015-02-18 Thread Dan Callaghan
Excerpts from Nick Coghlan's message of 2015-02-19 14:26 +10:00: > However, the qualified listings still came back as a login redirect > rather than giving me any data, even with a valid Kerberos ticket and > passing --negotiate to curl. Yes, sigh... The API does not actually use standard HTTP a

Re: [Beaker-devel] Receiving HTML rather than JSON despite Accept header

2015-02-18 Thread Nick Coghlan
> From: "Dan Callaghan" > To: "beaker-devel" > Sent: Thursday, 19 February, 2015 2:02:31 PM > Subject: Re: [Beaker-devel] Receiving HTML rather than JSON despite Accept > header > > Excerpts from Nick Coghlan's message of 2015-02-19 12:46 +10:00

Re: [Beaker-devel] Receiving HTML rather than JSON despite Accept header

2015-02-18 Thread Dan Callaghan
Excerpts from Nick Coghlan's message of 2015-02-19 12:46 +10:00: > Hi folks, > > I'm trying to use the HTTP APIs documented in > https://beaker-project.org/docs-release-19/server-api/http.html as > follows: > > curl --negotiate -H 'Accept: application/json' https:// server domain> > >

[Beaker-devel] Receiving HTML rather than JSON despite Accept header

2015-02-18 Thread Nick Coghlan
Hi folks, I'm trying to use the HTTP APIs documented in https://beaker-project.org/docs-release-19/server-api/http.html as follows: curl --negotiate -H 'Accept: application/json' https:// I have a valid Kerberos ticket, but the main page just returns the HTML list of systems, while the sub