Page 1 of 1

problems with api request.

Posted: Tue Feb 03, 2009 7:26 am
by thissideup
hi,
like im writing here, i want to get an api/xml request from discogs. however, what im totally not understanding - and googling sadly wont help - is how i am to send a "Accept-Encoding: gzip" header alongside with the request, which is indeed only a url with a function GET variable (for xml) and a wanted api-key. (see here for further info)
really, im in a blank here. any help would be muchly appreciated.
thanks in advance!
alex.

Re: problems with api request.

Posted: Fri Feb 06, 2009 7:43 am
by thissideup
noone?
hm, that saddens me...
have a nice day anyway!

Re: problems with api request.

Posted: Fri Feb 06, 2009 7:56 am
by jothirajan
No worries man....

Good thing is always there....

Whether u want the output in the XML format only?.

Re: problems with api request.

Posted: Fri Feb 06, 2009 9:07 am
by thissideup
well, i actually would already be pleased when id receive the xml from discogs in the first place. a simple get request just resolves either in html error code 400 (as in: nah, you cant even meet our standards? then shove off!) or nothing at all. although i have encrypted my page already through ob_start("ob_gzhandler");
im not completely understanding that either. anyway, do you at least understand what im talking about? i tend to rather misexplain myself at times.
thanks, btw!
alex.