problems with api request.

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
thissideup
Forum Newbie
Posts: 10
Joined: Thu Jan 29, 2009 5:24 am

problems with api request.

Post 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.
thissideup
Forum Newbie
Posts: 10
Joined: Thu Jan 29, 2009 5:24 am

Re: problems with api request.

Post by thissideup »

noone?
hm, that saddens me...
have a nice day anyway!
jothirajan
Forum Commoner
Posts: 69
Joined: Tue Jan 27, 2009 12:06 am

Re: problems with api request.

Post by jothirajan »

No worries man....

Good thing is always there....

Whether u want the output in the XML format only?.
thissideup
Forum Newbie
Posts: 10
Joined: Thu Jan 29, 2009 5:24 am

Re: problems with api request.

Post 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.
Post Reply