John Holme
2014-05-16 17:28:14 UTC
I've got the following entry in UrlMappings.groovy:
"/sites/$sitecode/bibs/$bibId/holds"(controller:"holds", action:"create",
method:"POST")
The intention is to provide a RESTful API that reveals a resource hierarchy.
Constraints on both the sitecode and bibId fields in HoldsCommand include
nullable:false and blank:false. However, the following URI returns 'blank'
errors for both fields:
localhost:8080/myapp/sites/alb/bibs/abc/holds
What is the correct way to map this url?
--
View this message in context: http://grails.1312388.n4.nabble.com/urlmappings-embedded-variables-interspersed-with-hard-coded-tokens-tp4656912.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
"/sites/$sitecode/bibs/$bibId/holds"(controller:"holds", action:"create",
method:"POST")
The intention is to provide a RESTful API that reveals a resource hierarchy.
Constraints on both the sitecode and bibId fields in HoldsCommand include
nullable:false and blank:false. However, the following URI returns 'blank'
errors for both fields:
localhost:8080/myapp/sites/alb/bibs/abc/holds
What is the correct way to map this url?
--
View this message in context: http://grails.1312388.n4.nabble.com/urlmappings-embedded-variables-interspersed-with-hard-coded-tokens-tp4656912.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email