Hi,
I'm developing a client to add new rows to my DB by using the smartgwt rest api.
Mi rest client is created with apache httpclient.
So far i've been able to post data to the datasource. This data consists only in text and numbers, but now i need to upload an image to the datasource.
I've added the image field to the datasource and try to send a multipart form data with the apache httpclient but is not working (smartgwt doesn't recognize any of the fields in the multipart form).
Witch one is the best way to upload images to smartgwt using rest methods?
Thank you for your help.
My smartgwt version is 4.1-p20140305
I'm developing a client to add new rows to my DB by using the smartgwt rest api.
Mi rest client is created with apache httpclient.
So far i've been able to post data to the datasource. This data consists only in text and numbers, but now i need to upload an image to the datasource.
I've added the image field to the datasource and try to send a multipart form data with the apache httpclient but is not working (smartgwt doesn't recognize any of the fields in the multipart form).
Witch one is the best way to upload images to smartgwt using rest methods?
Thank you for your help.
My smartgwt version is 4.1-p20140305
Comment