couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Ogden <...@maxogden.com>
Subject Re: Requesting data from inside of shows
Date Fri, 29 Jul 2011 17:25:57 GMT
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 <newmaniese@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message