This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to call this RESTful service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to call this RESTful service?" Watch "How to call this RESTful service?" New topic

How to call this RESTful service?

emma smith
Ranch Hand

Joined: Nov 29, 2012
Posts: 48
Hi friends,
i'm really new to RESTful services i want to call this service from my cms, my cms is in java, i have tried to write a code for calling it but i did n't succeed can you show me a simple code for this
Santhosh ayiappan
Ranch Hand

Joined: Jan 30, 2007
Posts: 80

There are many ways to consume a rest service. You can use HttpURLConnection or you can use the Jersey api to consume the service.

One such example can be found in the below link.

Code to consume Rest Service
I agree. Here's the link:
subject: How to call this RESTful service?
jQuery in Action, 3rd edition