In that case how do someone using my web service can send me a request with an
attachment. How to solve this use-case?
Thanks Jerome
What about the server code? Will Restlet be able to handle multi-part? If I use
a http-client library to post the multi-part form request will the server code
of Restlet( handlePost() method in Resource) be able to parse the request. If
not how to achieve the same.
What would
Surjendu
Envoyé : mercredi 30 avril 2008 08:32
À : discuss@restlet.tigris.org
Objet : Re: Send and Parse Attachment using Restlet
Thanks Jerome
What about the server code? Will Restlet be able to handle multi-part? If I
use
a http-client library to post the multi-part form request will the server
Please help me regarding sending a file as an attachment using Restlet.
I have
written my client code. Please let me know if it's correct.
Client:
FileRepresentation rep = new
FileRepresentation(c:\\input.text,MediaType.TEXT_ALL, 0);
Client client = new Client(Protocol.HTTP);
Response response
: news [mailto:[EMAIL PROTECTED] On Behalf Of Surjendu
Sent: Wednesday, April 30, 2008 12:53 AM
To: discuss@restlet.tigris.org
Subject: Send and Parse Attachment using Restlet
Please help me regarding sending a file as an attachment
using Restlet.
I have
written my client code. Please let
5 matches
Mail list logo