android - How to recieve an HTTPS Post request in Grails? -
i writing android app needs pass data grails based web application. want using post request on client side. i'm not sure begin on server side of things. understand should use code looks like: request.getparams() i'm not sure needs go. suggestions?
you need create controller. e.g.
foocontroller { def index = { if (request.status == 'post') print request.params } } }
now send post http://<url context>/foo/index
.
Comments
Post a Comment