-
-
Save anataliocs/7124544 to your computer and use it in GitHub Desktop.
Grails Servlet response
REST IMPORTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTPServletResponse.SC_OK | |
.findById(params.goalInfoId, [sort: "date", order: "desc"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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