[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: HTTPAPI - http_post_stmf - HTTP/1.1 415 Unsupported Media



Hello Scott and Mike,

I used the content type application/x-www-form-urlencoded and it works.
Thank you very much both.
Just another question, does exist a way to post an xml and get an xml ?
I use http_post_stmf, put I have to use  file. I would prefer call the post function with passing and XML string..

Best regards

Frederic


PS :
For information, in the TNT doc the 3 following can be used.
But only one is ok in my case.
-----------------------------------
If an xml transfer is to be used the http header Content-Type must be set to one of the following,
Content-Type: text/xml
Content-Type: text/xml; charset=utf-8
Content-Type: application/x-www-form-urlencoded
----------------------------------

--------------------------------------------------------------
This email is intended only for use by the addresse(s) named in the message, and may contain confidential information. If you are not the intended recipient of this email message, any distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately. The integrity and security of this message can not be guaranteed on the Internet. Although KUHN operates anti-virus programs, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------