BAtch Odata

Hi - I am trying to call the API service with multiple requests in a single Post call.

As per the OData service standard, Batch requests should follow the below format

–batch
Content-Type: multipart/mixed; boundary=changeset

–changeset
Content-Type: application/http
Content-Transfer-Encoding: binary

POST XXXXXX HTTP/1.1
Content-Type: application/json
Content-ID: 2
Content-Length: 10000

{
Payload
}

–changeset –
–batch–

So how can I achieve the above request format?
do I have to use the Java service itself here? if so any pointers on this

Thanks & Regards
Venkat