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

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -