I am currently working on an application which is based on client-server architecture.
On Client side:
I have to read data from database and send it to the server.
Currently i am sending data using HTTP POST method (using utf-8 encoding).
But now my problem is:
In database, i have a column of CLOB type which contains xml file. I have to fetch this file and then post it to server through HTTP POST.
Fetching part is done but my problem is how to send this file to server through HTTP POST method?
On Server side i have to parse this xml and need to do some validations.