http://<host>/user/[email protected] also, throws an error:

Endpoint named 'xxx' encountered an unhandled exception.

I was looking at Google's api and seems like they pass all parameter as
query string and the output parameter is in the path. e.g

http://<host>/user/[email protected]
http://<host>/[email protected]

May be use that format?

Thanks,

Sumit Verma
Partner / Vice President | ten24, LLC
office: 877.886.5806 x 103 | mobile: 617.290.8214
www.ten24web.com | www.linkedin.com/in/sverma | twitter: blogonria


On Tue, Oct 5, 2010 at 4:16 PM, Peter J. Farrell <[email protected]> wrote:

>  Sumit Verma said the following on 10/05/2010 02:53 PM:
>
> Hi Guys,
>
>  Couple of question about REST endpoint usage:
>
>  1. How do I pass data that has "." in it? Right now looks like everything
> with a dot is considered format extension and is being stripped out.
> Example:
>
> http://<host>/user/[email protected]
> http://<host>/user/1.15
>
>  .com is a valid file extension.  For the mean time, use a real file
> extension:
>
> http://<host>/user/[email protected]
>
> I'll ask Doug about a better workaround / better support.  The problem only
> occurs if the last placeholder ends with .xxx.  Nested items are not
> affected:
>
> http://<host>/user/[email protected]/addresses (GET)
>
>
>
>  2. What if I want/need to support both GET and POST method for same URI?
>
> Define two methods each with a different rest:method type with the same
> URI.  The framework will route accordingly.
>
>  --
> You received this message because you are subscribed to Mach-II for CFML
> list.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>
> ***New URLs as of April 29th, 2010***
> SVN: http://svn.mach-ii.com/machii/
> Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
>

-- 
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

***New URLs as of April 29th, 2010***
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to