wood burning stoves 2.0*
The moose likes Web Services and the fly likes Inputs to a REST webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Inputs to a REST webservice" Watch "Inputs to a REST webservice" New topic
Author

Inputs to a REST webservice

Nikhil Das Nomula
Greenhorn

Joined: Jun 10, 2011
Posts: 23
I was always under this feeling that REST web service can accept only XML, JSON and TEXT as input. However I heard that REST webservices can also take other formats as inputs like files and documents. Is that possible or are these converted into xml's and json's.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
There is absolutely no restriction on the kinds of resources a RESTful server can accept or return via HTTP.

See Wikipedia article

Bill

Java Resources at www.wbrogden.com
Nikhil Das Nomula
Greenhorn

Joined: Jun 10, 2011
Posts: 23
Thank you William or else I would have lived with that false impression
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inputs to a REST webservice
 
Similar Threads
JMS-queue handling
Accessing Query Params in Rest Service using Spring
What is a recursive decent parser and how does it work?
How to create multiple objects dynamically
Hourly rate for Java Consultant