× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

In what format would you like to do this? a POST request allows one "request body" (basically, a stream of bytes to upload). In that body, you can send a raw file, such as an XML file, or you can use some sort of transfer encoding that allows you to put multiple pieces of data together.

XML itself is sometimes used for that. Other methods include multipart/form-data encoding, or the traditional web format of application/x-www-form-urlencoded (which is unusual with web services, but not unheard of.) JSON is also sometimes used for this.

Do you know more about the format of the request body you need to send?

-SK



On 7/9/2013 2:08 PM, tegger@xxxxxxxxxxx wrote:

I have a project that I need to be able to post a rather large XML
file to a web service.

I've looked around for an example to follow that will post the XML
from the IFS and include some basic information on the actual POST.
(In this particular case, I have to post strings that ID our system
to the remote. Kinda of like a user ID/password).

Has anyone tripped across a good example?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.