On 06/04/2013 22:36, Xybrek wrote:
When using GWT we use this URL forms:

Debug:

     http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997#hash

Compiled:

     http://127.0.0.1:8888/index.html#hash

I need to be able to access the underlying Rest API.

Which I need to map within the "root"

     http://127.0.0.1:8888/{contentId}

Not sure if that's an acceptable solution for you, but we chose to put the Rest API under a different path:

 http://127.0.0.1:8888/api/v1/{contentId}

The /api allows to separate the Web service from the application (using it).
About v1: see https://blog.apigee.com/detail/announcement_new_ebook_on_web_api_design/ about API design.


--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to