dhanji/sitebricks — Issue #12: How to create a web service that receives non-form-data?
Author: cain-cs
Created: 2011-12-05 18:28:42+00:00
State: open

I am attempting to create a web service that receives a HTTP Post whose message body is XML. Using the PostableRestfulWebService example I have been able to get a service working that receives Form data. But I get errors when I try send XML data. It seems the problem is that com.google.sitebricks.headless.Request expects data to be submitted as Form data. Is there an alternate to this Request interface that I can specify here to be able to accept alternate data formats? Or other mechanism for receiving non-form data?