Hi
Thank you for your reply.
I have to POST an XML string which consists of Order data to our distribution company.
They have instructed me that they are planning on reading the xml from the stream and in the same way stream the xml back to you. THIS IS WHERE I AM STUCK.
The JAVA example they have provided is:
java.net.URL target = new URL(url);
HttpURLConnection uc = (HttpURLConnection) target.openConnection();
uc.setRequestMethod("POST");
uc.setRequestProperty("Content-Type", "text/xml");
OutputStream os = uc.getOutputStream();
PrintWriter writer = new PrintWriter(os);
writer.write(postString);
writer.close();
Is cURL the right method to send the data to them?
Can you help please?
Many thanks
Robert