Board index » delphi » MIME encoding XML and posting to a HTTP server??

MIME encoding XML and posting to a HTTP server??

Could someone explain how to MIME encode a string of XML and post it to a
server via HTTP or HTTPS?  What properties do I need to set in the TIdHTTP?

I did not know if I just change the Content headers in the TIdHTTP, but
since encoding involved I guessed it would be more than that.

Thanks.

 

Re:MIME encoding XML and posting to a HTTP server??


You'l need a server side "script" (ASP,JSP servlet, Perl script etc etc etc) to
process the file.  To do this I'd look at using SOAP or XML-RPC.  These define
standard ways of doing the what you want.  The first is a proposed standard
from microsoft and is suffering a bit from "feature creep" as the
standardisation progresses.  The second is easier but less supported by
thirdparty tools (but should not be that difficult to do yourself).

Search google for either and you'll find plenty of information

Mike H

Quote
Matt wrote:
> Could someone explain how to MIME encode a string of XML and post it to a
> server via HTTP or HTTPS?  What properties do I need to set in the TIdHTTP?

> I did not know if I just change the Content headers in the TIdHTTP, but
> since encoding involved I guessed it would be more than that.

> Thanks.

Re:MIME encoding XML and posting to a HTTP server??


That already exists.  They just require me to MIME encode the data coming to
them.  How do I do that?

Thanks.

Quote
"mike hankey" <mike.hankey@_n_o_s_p_a_m_ntlworld.com> wrote in message

news:3A81C0B1.23D22446@_n_o_s_p_a_m_ntlworld.com...
Quote
> You'l need a server side "script" (ASP,JSP servlet, Perl script etc etc
etc) to
> process the file.  To do this I'd look at using SOAP or XML-RPC.  These
define
> standard ways of doing the what you want.  The first is a proposed
standard
> from microsoft and is suffering a bit from "feature creep" as the
> standardisation progresses.  The second is easier but less supported by
> thirdparty tools (but should not be that difficult to do yourself).

> Search google for either and you'll find plenty of information

> Mike H

> Matt wrote:

> > Could someone explain how to MIME encode a string of XML and post it to
a
> > server via HTTP or HTTPS?  What properties do I need to set in the
TIdHTTP?

> > I did not know if I just change the Content headers in the TIdHTTP, but
> > since encoding involved I guessed it would be more than that.

> > Thanks.

Re:MIME encoding XML and posting to a HTTP server??


delphi_...@hotmail.com (Matt) wrote in <95ugua$f...@bornews.inprise.com>:

Quote
>That already exists.  They just require me to MIME encode the data coming to
>them.  How do I do that?

You would have to use the MIME encoders. The SMTP uses MIME to encode its
messages, and if you check the section that encode attachments, your code
would be quite similar.

--
Chad Z. Hower (Kudzu) - Church Hill, TN - Team Indy
      "Programming is an art form that fights back"
Forget the Y2K problem, Lets fix the W2K problem.
http://www.pbe.com/Kudzu/ - Free Delphi/CBuilder components and articles

Other Threads