File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Obtaining JSON object using params in grails REST Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Obtaining JSON object using params in grails REST" Watch "Obtaining JSON object using params in grails REST" New topic
Author

Obtaining JSON object using params in grails REST

Atul R Sawant
Greenhorn

Joined: Apr 04, 2012
Posts: 1
Hi All,

Its been a while I came back here since I got into development project again (got a new login id). I had passed SCJP over 4 years back and with great help of javaranch and guess what thats why I am back!!

I am new to Grails so this might be a silly one....however I am trying to get the json object from the jquery client in grails using grails REST but i am getting null. Might be a small gitch but its created in impediments for my first few dataflows I want to test

my jquery call:

MY GRAILS:



urlmapping:



[Update: Added Code tags (UseCodeTags)]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Obtaining JSON object using params in grails REST
 
It's not a secret anymore!