CouchDB can't make requests to other domains from a show function. You will have to put an application layer such as node.js, python flask or ruby sinatra on top of Couch or do the request in client side javascript to achieve what you are seeking.
Max On Fri, Jul 29, 2011 at 1:09 PM, Michael <[email protected]> wrote: > This has been a problem I have been looking at for a long time and my > current solution is not elegant at all, so I am hoping that you all might > help. > > I have a show and I would like to make a request to another API (from > another domain) from the show, which I would like combine that data and the > data from Couch into my response. This feels like it should be easy, but I > cannot find any examples of this happening. > > Any help would be much appreciated. > > Thanks, > > Michael >
