Re: mime type over http post?

From: Date: Wed, 16 May 2007 20:30:24 +0000
Subject: Re: mime type over http post?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-255031@lists.php.net to get a copy of this message
On 5/16/07, Ray <ray@stilltech.net> wrote:
On Wednesday 16 May 2007 11:12 am, Stephen wrote:
I'm having a hard time getting support from from them. the method of comunication (direct quote from their docs is: "Data will be transferred to [server] via an HTTP POST operation using the MIME type, text/xml"
They want you to mimic what a browser would send to a web site when the user clicks a "send" button in a form. Hi, They have supplied very detailed docs for the XML, but the part that really throws me Is the mime type. Is this just another header? Thanks, Ray
Yes, it is just another header, you could analyze the headers sent to and from with for example a network sniffer. Or you just connect to the protocol directly with programs like putty or telnet. Tijnema
You use PHP to create the header for the page request, but you need to study HTTP documentation to understand what you need to send. It seems very unreasonable of them to have not supplied sample code. Good luck. Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#255031) next »