Hi Paul,
Is jersey client api capable of doing the following POST request ?
How do I appoach creating a request of this kind ?
=============
This is what POST request may look like:
POST /rest/search/ HTTP/1.1
Host:
User-Agent:
<other headers>
Content-Length: 3548
Content-Type: multipart/form-data;
boundary=----------------------------d8b4f160da95
------------------------------d8b4f160da95
Content-Disposition: form-data; name="image_upload";
filename="logo_big.png"
Content-Type: application/octet-stream
<the POSTed image logo_big.png>
------------------------------d8b4f160da95
Content-Disposition: form-data; name="api_key"
1CMUPjlfBm*vL9ZvSqJO
------------------------------d8b4f160da95
Content-Disposition: form-data; name="date"
1250698364
------------------------------d8b4f160da95
Content-Disposition: form-data; name="limit"
50
------------------------------d8b4f160da95
Content-Disposition: form-data; name="offset"
150
------------------------------d8b4f160da95
Content-Disposition: form-data; name="nonce"
asdhiasfhass9020990
------------------------------d8b4f160da95--
Important Notes:
The Content-Type header value to use for signing is
multipart/form-data; boundary=----------------------------d8b4f160da95
Be sure to end the final POST boundary line with --
Each of the boundary separators has 2 more dashes than the boundary
value specified in the Content-Type header
=============
Thanking you, in advance.
With Regards
Sree