Skip to content

Instantly share code, notes, and snippets.

@anataliocs
Created October 23, 2013 18:58
Show Gist options
  • Save anataliocs/7124544 to your computer and use it in GitHub Desktop.
Save anataliocs/7124544 to your computer and use it in GitHub Desktop.
Grails Servlet response REST IMPORTS
HTTPServletResponse.SC_OK
.findById(params.goalInfoId, [sort: "date", order: "desc"])
import static groovyx.net.http.Method.GET
import static groovyx.net.http.ContentType.TEXT
import static groovyx.net.http.ContentType.JSON
import static groovyx.net.http.ContentType.HTML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment