[Corona] HTTP requests to other locations

Eric Bloch Eric.Bloch at marklogic.com
Tue Dec 13 17:39:28 PST 2011


This question (and related ones) have come up enough times (and will likely continue to come up) such that we should probably have a small q/a on it in the docs somewhere.

E

Eric Bloch
eric.bloch at marklogic.com



On Dec 12, 2011, at 10:26 AM, Scott Conroy wrote:

> I'm used to RESTful apps offering a set of paths/directories for
> actions rather than singular points of entry.  So, rather than PUTing
> to /store?uri=/orders/order123.xml, I'd PUT to /orders/order123.xml
> directly.  Is the intention with Corona to support this kind of thing,
> perhaps with conventions or some level of automatic url rewriting?  I
> don't think you're getting in the way of my doing this using a custom
> rewriter, but it would be very interesting to do something
> automatically based on directories or collections as containers for
> definable resources.
> 
> Scott
> _______________________________________________
> Corona mailing list
> Corona at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/corona



More information about the Corona mailing list