incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <mar...@buyways.nl>
Subject Re: uuids as xml?
Date Thu, 18 Mar 2010 10:27:08 GMT
REST does not imply any specific MIMEtype although often JSON or XML is being 
in use.



On Thursday 18 March 2010 11:20:49 wolfgang haefelinger wrote:
> Well, I thought that couchdb has a REST interface, no?
> 
> 
> On Thu, Mar 18, 2010 at 10:57 AM, Sebastian Cohnen
> 
> <sebastiancohnen@googlemail.com> wrote:
> > hey wolfgang,
> >
> > the answer is simple: you can't get UUIDs as XML :)
> >
> > On 18.03.2010, at 10:46, wolfgang haefelinger wrote:
> >> Hi,
> >> trying to get a uuid(s) back as XML. Acceptance header does not work,
> >> neither "format":
> >>
> >> $ curl -H 'Accept:application/xml'
> >> http://localhost:5984/_uuids?format=xml
> >> {"uuids":["d5158e7420eee5d987fcccde84795847"]}
> >>
> >> How would I do that?
> >>
> >> // Wolfgang.
> 

Markus Jelsma - Technisch Architect - Buyways BV
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350


Mime
View raw message