Home / Java Techs / Grails / How to consume web service from Grails 4 applications

How to consume web service from Grails 4 applications

Print Friendly, PDF & Email

Recently, I have shared my experience in using grails 2.5.x to consume RESTful API/WebServices. In addition, to know how to retrieve remote data via RESTful WebServices with Grails 3 or 4 is an added value for your resume so as to make you more confident in presenting your web engineering skills before your future employers.

consume web service from Grails 4

consume web service from Grails 4


Grails 3 comes with major changes. The code basis changed to Spring Boot, Gant was replaced with Gradle, existing features were reimplemented using Traits and new features like Profiles and Interceptors were added.

With all those changes it can become quite challenging to upgrade an existing Grails 2.x application to Grails 3 (all Plugins need to be updated first). If you plan to Upgrade to Grails 3, you should have a look at the Grails 3 upgrade guide.


  1. https://guides.grails.org/grails-mock-http-server/guide/index.html

About Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don't hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory. Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.

Leave a Reply

Your email address will not be published. Required fields are marked *




This site uses Akismet to reduce spam. Learn how your comment data is processed.